Toggle effects use with property
This commit is contained in:
parent
7a202515e8
commit
6a5ad11aa7
2 changed files with 17 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<PropertyList>
|
<PropertyList>
|
||||||
<name>default-effect</name>
|
<name>Effects/terrain-default</name>
|
||||||
<!-- <inherits-from>another-effect</inherits-from> -->
|
<!-- <inherits-from>another-effect</inherits-from> -->
|
||||||
<parameters>
|
<parameters>
|
||||||
<material>
|
<material>
|
||||||
|
@ -40,10 +40,21 @@
|
||||||
</parameters>
|
</parameters>
|
||||||
<technique>
|
<technique>
|
||||||
<predicate>
|
<predicate>
|
||||||
<less-equal>
|
<and>
|
||||||
<value type="float">2.0</value>
|
<property>/sim/rendering/shader-effects</property>
|
||||||
<glversion/>
|
<or>
|
||||||
</less-equal>
|
<less-equal>
|
||||||
|
<value type="float">2.0</value>
|
||||||
|
<glversion/>
|
||||||
|
</less-equal>
|
||||||
|
<and>
|
||||||
|
<extension-supported>GL_ARB_shader_objects</extension-supported>
|
||||||
|
<extension-supported>GL_ARB_shading_language_100</extension-supported>
|
||||||
|
<extension-supported>GL_ARB_vertex_shader</extension-supported>
|
||||||
|
<extension-supported>GL_ARB_fragment_shader</extension-supported>
|
||||||
|
</and>
|
||||||
|
</or>
|
||||||
|
</and>
|
||||||
</predicate>
|
</predicate>
|
||||||
<pass>
|
<pass>
|
||||||
<lighting>true</lighting>
|
<lighting>true</lighting>
|
||||||
|
|
|
@ -112,6 +112,7 @@ Started September 2000 by David Megginson, david@megginson.com
|
||||||
<enabled type="bool" userarchive="y">true</enabled>
|
<enabled type="bool" userarchive="y">true</enabled>
|
||||||
<debug type="bool" userarchive="y">false</debug>
|
<debug type="bool" userarchive="y">false</debug>
|
||||||
</shadows>
|
</shadows>
|
||||||
|
<shader-effects type="bool" userarchive="y">true</shader-effects>
|
||||||
<fps-display type="bool" userarchive="y">false</fps-display>
|
<fps-display type="bool" userarchive="y">false</fps-display>
|
||||||
<on-screen-statistics type="int">0</on-screen-statistics>
|
<on-screen-statistics type="int">0</on-screen-statistics>
|
||||||
<glide-slope-tunnel type="bool" userarchive="y">false</glide-slope-tunnel>
|
<glide-slope-tunnel type="bool" userarchive="y">false</glide-slope-tunnel>
|
||||||
|
|
Loading…
Add table
Reference in a new issue