rename /sim/rendering/rembrandt -> /sim/rendering/rembrandt/enabled
and put rembrandt-related properties in /sim/rendering/rembrandt/
This commit is contained in:
parent
17740f9cf7
commit
5cfca250b1
11 changed files with 25 additions and 23 deletions
|
@ -2386,7 +2386,7 @@
|
|||
<object-name>LandingLightCone</object-name>
|
||||
<condition>
|
||||
<and>
|
||||
<property>/sim/rendering/rembrandt</property>
|
||||
<property>/sim/rendering/rembrandt/enabled</property>
|
||||
<property>controls/lighting/landing-lights</property>
|
||||
</and>
|
||||
</condition>
|
||||
|
@ -2401,7 +2401,7 @@
|
|||
<and>
|
||||
<property>controls/lighting/landing-lights</property>
|
||||
<not>
|
||||
<property>/sim/rendering/rembrandt</property>
|
||||
<property>/sim/rendering/rembrandt/enabled</property>
|
||||
</not>
|
||||
</and>
|
||||
</condition>
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
<PropertyList>
|
||||
<name>Effects/display</name>
|
||||
<parameters>
|
||||
<exposure type="float"><use>/sim/rendering/exposure</use></exposure>
|
||||
<show-buffers type="bool"><use>/sim/rendering/show-buffers</use></show-buffers>
|
||||
<exposure type="float"><use>/sim/rendering/rembrandt/exposure</use></exposure>
|
||||
<show-buffers type="bool"><use>/sim/rendering/rembrandt/show-buffers</use></show-buffers>
|
||||
</parameters>
|
||||
<technique n="11">
|
||||
<pass>
|
||||
|
|
|
@ -12,7 +12,7 @@ the objects that use it, and replaces it with the default shader.
|
|||
<technique n="8">
|
||||
<predicate>
|
||||
<and>
|
||||
<property>/sim/rendering/rembrandt</property>
|
||||
<property>/sim/rendering/rembrandt/enabled</property>
|
||||
<or>
|
||||
<less-equal>
|
||||
<value type="float">2.0</value>
|
||||
|
|
|
@ -141,7 +141,7 @@ please see Docs/README.model-combined.eff for documentation
|
|||
<use>/sim/rendering/shaders/skydome</use>
|
||||
</fogtype>
|
||||
<rembrandt>
|
||||
<use>/sim/rendering/rembrandt</use>
|
||||
<use>/sim/rendering/rembrandt/enabled</use>
|
||||
</rembrandt>
|
||||
<!-- END fog include -->
|
||||
</parameters>
|
||||
|
@ -156,7 +156,7 @@ please see Docs/README.model-combined.eff for documentation
|
|||
<predicate>
|
||||
<and>
|
||||
<property>/sim/rendering/shaders/model</property>
|
||||
<property>/sim/rendering/rembrandt</property>
|
||||
<property>/sim/rendering/rembrandt/enabled</property>
|
||||
<or>
|
||||
<less-equal>
|
||||
<value type="float">2.0</value>
|
||||
|
|
|
@ -142,7 +142,7 @@
|
|||
<technique n="10">
|
||||
<predicate>
|
||||
<and>
|
||||
<property>/sim/rendering/rembrandt</property>
|
||||
<property>/sim/rendering/rembrandt/enabled</property>
|
||||
<or>
|
||||
<less-equal>
|
||||
<value type="float">2.0</value>
|
||||
|
|
|
@ -415,7 +415,7 @@
|
|||
<technique n="10">
|
||||
<predicate>
|
||||
<and>
|
||||
<property>/sim/rendering/rembrandt</property>
|
||||
<property>/sim/rendering/rembrandt/enabled</property>
|
||||
<or>
|
||||
<less-equal>
|
||||
<value type="float">2.0</value>
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
<technique n="9">
|
||||
<predicate>
|
||||
<and>
|
||||
<property>/sim/rendering/rembrandt</property>
|
||||
<property>/sim/rendering/rembrandt/enabled</property>
|
||||
<property>/sim/rendering/random-vegetation</property>
|
||||
</and>
|
||||
</predicate>
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
<technique n="6">
|
||||
<predicate>
|
||||
<and>
|
||||
<property>/sim/rendering/rembrandt</property>
|
||||
<property>/sim/rendering/rembrandt/enabled</property>
|
||||
<property>/sim/rendering/shaders/urban</property>
|
||||
<less-equal>
|
||||
<value type="float">4.0</value>
|
||||
|
@ -233,7 +233,7 @@
|
|||
<technique n="7">
|
||||
<predicate>
|
||||
<and>
|
||||
<property>/sim/rendering/rembrandt</property>
|
||||
<property>/sim/rendering/rembrandt/enabled</property>
|
||||
<property>/sim/rendering/shaders/urban</property>
|
||||
<less-equal>
|
||||
<value type="float">1.0</value>
|
||||
|
|
|
@ -547,13 +547,13 @@
|
|||
<label>Rembrandt</label>
|
||||
<halign>left</halign>
|
||||
<visible>
|
||||
<property>/sim/rendering/rembrandt</property>
|
||||
<property>/sim/rendering/rembrandt/enabled</property>
|
||||
</visible>
|
||||
</text>
|
||||
<hrule>
|
||||
<stretch>true</stretch>
|
||||
<visible>
|
||||
<property>/sim/rendering/rembrandt</property>
|
||||
<property>/sim/rendering/rembrandt/enabled</property>
|
||||
</visible>
|
||||
</hrule>
|
||||
</group>
|
||||
|
@ -568,7 +568,7 @@
|
|||
<object-name>shadow</object-name>
|
||||
</binding>
|
||||
<visible>
|
||||
<property>/sim/rendering/rembrandt</property>
|
||||
<property>/sim/rendering/rembrandt/enabled</property>
|
||||
</visible>
|
||||
</checkbox>
|
||||
|
||||
|
@ -576,7 +576,7 @@
|
|||
<layout>hbox</layout>
|
||||
<halign>right</halign>
|
||||
<visible>
|
||||
<property>/sim/rendering/rembrandt</property>
|
||||
<property>/sim/rendering/rembrandt/enabled</property>
|
||||
</visible>
|
||||
|
||||
<text>
|
||||
|
|
|
@ -662,7 +662,7 @@
|
|||
<name>rendering-buffers</name>
|
||||
<binding>
|
||||
<command>property-toggle</command>
|
||||
<property>/sim/rendering/show-buffers</property>
|
||||
<property>/sim/rendering/rembrandt/show-buffers</property>
|
||||
</binding>
|
||||
<enabled>false</enabled>
|
||||
</item>
|
||||
|
|
|
@ -64,12 +64,14 @@ Started September 2000 by David Megginson, david@megginson.com
|
|||
</startup>
|
||||
<rendering>
|
||||
<materials-file>Materials/default/materials.xml</materials-file>
|
||||
<rembrandt type="bool">false</rembrandt>
|
||||
<renderer userarchive="y">default-pipeline</renderer>
|
||||
<show-buffers type="bool" userarchive="y">true</show-buffers>
|
||||
<ambient-occlusion type="bool" userarchive="y">false</ambient-occlusion>
|
||||
<exposure type="float" userarchive="y">1.0</exposure>
|
||||
<use-color-for-depth type="bool">false</use-color-for-depth>
|
||||
<rembrandt>
|
||||
<enabled type="bool">false</enabled>
|
||||
<renderer userarchive="y">default-pipeline</renderer>
|
||||
<show-buffers type="bool" userarchive="y">true</show-buffers>
|
||||
<ambient-occlusion type="bool" userarchive="y">false</ambient-occlusion>
|
||||
<exposure type="float" userarchive="y">1.0</exposure>
|
||||
<use-color-for-depth type="bool">false</use-color-for-depth>
|
||||
</rembrandt>
|
||||
<debug type="bool">false</debug>
|
||||
<realism type="int">5</realism>
|
||||
<filtering type="int">8</filtering>
|
||||
|
|
Loading…
Reference in a new issue