This repository has been archived on 2021-09-26. You can view files and clone it, but cannot push or open issues or pull requests.
IDG-A32X/Models/Effects/shadow.xml

73 lines
1.7 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<path>res/shadow.ac</path>
<animation>
<!-- opaque objects -->
<!-- transparent objects -->
<object-name>shadow</object-name>
<type>select</type>
<condition>
<not>
<property>/sim/rendering/rembrandt/enabled</property>
</not>
</condition>
</animation>
<effect>
<inherits-from>Effects/model-transparent</inherits-from>
<object-name>shadow</object-name>
</effect>
<!-- ALS shadow effect -->
<effect>
<inherits-from>Effects/shadow</inherits-from>
<object-name>shadow</object-name>
</effect>
<!--Translate to ground level -->
<animation>
<type>translate</type>
<object-name>shadow</object-name>
<property>/controls/lighting/shad-light-alt</property>
<factor>0.301</factor>
<axis>
<x>0</x>
<y>0</y>
<z>-1</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>shadow</object-name>
<property>/orientation/roll-deg</property>
<center>
<x>0</x>
<y>0</y>
<z>0</z>
</center>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>shadow</object-name>
<property>/orientation/pitch-deg</property>
<center>
<x>0</x>
<y>0</y>
<z>0</z>
</center>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
</animation>
</PropertyList>