KT76A: fix Rembrandt transparency and remove a file dependence
This commit is contained in:
parent
22fa017403
commit
0e0af99445
2 changed files with 6 additions and 13 deletions
|
@ -1,6 +1,6 @@
|
|||
AC3Db
|
||||
MATERIAL "DefaultWhite.002" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 0.5 0.5 0.5 shi 64 trans 0
|
||||
MATERIAL "transparent" rgb 0.547091 0.565624 0.595981 amb 0 0 0 emis 0 0 0 spec 1 1 1 shi 64 trans 0.5
|
||||
MATERIAL "transparent" rgb 0.547091 0.565624 0.595981 amb 1 1 1 emis 0 0 0 spec 1 1 1 shi 64 trans 0.7
|
||||
OBJECT world
|
||||
kids 14
|
||||
OBJECT poly
|
||||
|
|
|
@ -79,7 +79,7 @@
|
|||
<object-name>Front</object-name>
|
||||
<object-name>Ident-light</object-name>
|
||||
|
||||
<property-base>instrumentation/transponder</property-base>
|
||||
<property-base>/instrumentation/transponder</property-base>
|
||||
<texture-prop>texture-file</texture-prop>
|
||||
</animation>
|
||||
|
||||
|
@ -126,20 +126,13 @@
|
|||
<object-name>vitre</object-name>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>shader</type>
|
||||
<shader>chrome</shader>
|
||||
<texture>Aircraft/DR400-regent/Models/Effects/glass_shader.png</texture>
|
||||
<object-name>vitre</object-name>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<effect>
|
||||
<inherits-from>Effects/model-transparent</inherits-from>
|
||||
<object-name>vitre</object-name>
|
||||
<condition>
|
||||
<property>sim/model/config/glass-reflection-instruments</property>
|
||||
<property>sim/rendering/rembrandt/enabled</property>
|
||||
</condition>
|
||||
</animation>
|
||||
</effect>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
|
|
Loading…
Add table
Reference in a new issue