Add Rembrandt's shadow and map-size options to the rendering dialog.
This commit is contained in:
parent
5678c1cd76
commit
fba49c56a3
1 changed files with 65 additions and 2 deletions
|
@ -444,7 +444,70 @@
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
</group>
|
</group>
|
||||||
|
</group>
|
||||||
|
|
||||||
|
<group>
|
||||||
|
<layout>hbox</layout>
|
||||||
|
|
||||||
|
<text>
|
||||||
|
<label>Rembrandt</label>
|
||||||
|
<halign>left</halign>
|
||||||
|
<visible>
|
||||||
|
<property>/sim/rendering/rembrandt</property>
|
||||||
|
</visible>
|
||||||
|
</text>
|
||||||
|
<hrule>
|
||||||
|
<stretch>true</stretch>
|
||||||
|
<visible>
|
||||||
|
<property>/sim/rendering/rembrandt</property>
|
||||||
|
</visible>
|
||||||
|
</hrule>
|
||||||
|
</group>
|
||||||
|
|
||||||
|
<checkbox>
|
||||||
|
<halign>left</halign>
|
||||||
|
<label>Shadows</label>
|
||||||
|
<name>shadow</name>
|
||||||
|
<property>/sim/rendering/shadows/enabled</property>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
<object-name>shadow</object-name>
|
||||||
|
</binding>
|
||||||
|
<visible>
|
||||||
|
<property>/sim/rendering/rembrandt</property>
|
||||||
|
</visible>
|
||||||
|
</checkbox>
|
||||||
|
|
||||||
|
<group>
|
||||||
|
<layout>hbox</layout>
|
||||||
|
<halign>right</halign>
|
||||||
|
<visible>
|
||||||
|
<property>/sim/rendering/rembrandt</property>
|
||||||
|
</visible>
|
||||||
|
|
||||||
|
<text>
|
||||||
|
<label>Map size</label>
|
||||||
|
<enable>
|
||||||
|
<property>/sim/rendering/shadows/enabled</property>
|
||||||
|
</enable>
|
||||||
|
</text>
|
||||||
|
<combo>
|
||||||
|
<halign>left</halign>
|
||||||
|
<name>shadow-map-size</name>
|
||||||
|
<property>/sim/rendering/shadows/map-size</property>
|
||||||
|
<value>1024</value>
|
||||||
|
<value>2048</value>
|
||||||
|
<value>4096</value>
|
||||||
|
<value>8192</value>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
<object-name>shadow-map-size</object-name>
|
||||||
|
</binding>
|
||||||
|
</combo>
|
||||||
|
<empty>
|
||||||
|
<!-- align it nicely with the quality slider -->
|
||||||
|
<pref-width>105</pref-width>
|
||||||
|
</empty>
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
<group>
|
<group>
|
||||||
|
|
Loading…
Reference in a new issue