Files
MQ-9/Models/Lights/Rembrandt/ProbeLight-remb.xml
Meir Michanie c903aa556c first commit
2016-07-04 11:38:07 +03:00

89 lines
1.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<PropertyList>
<path>ProbeLightCone.ac</path>
<animation>
<type>select</type>
<object-name>light</object-name>
<condition>
<and>
<property>/sim/rendering/rembrandt/enabled</property>
<greater-than>
<property>/sim/rendering/shaders/lights</property>
<value>1</value>
</greater-than>
</and>
</condition>
</animation>
<animation>
<type>light</type>
<light-type>spot</light-type>
<name>ProbeR</name>
<object-name>light</object-name>
<nopreview/>
<position>
<x>0.0</x>
<y>0.0</y>
<z>0.0</z>
</position>
<direction>
<x>-1.0</x>
<y>0.0</y>
<z>0.0</z>
</direction>
<ambient>
<r>0.03</r>
<g>0.03</g>
<b>0.03</b>
<a>1.0</a>
</ambient>
<diffuse>
<r>0.80</r>
<g>0.80</g>
<b>0.70</b>
<a>1.0</a>
</diffuse>
<specular>
<r>1.00</r>
<g>0.75</g>
<b>0.75</b>
<a>1.0</a>
</specular>
<dim-factor>
<expression>
<product>
<value>-1</value>
<sum>
<product>
<max>
<pow>
<cos><property>/sim/time/sun-angle-rad</property></cos>
<value>0.3</value>
</pow>
<value>0</value>
</max>
<value>1.0</value>
</product>
<value>-1</value>
</sum>
<property>lightpack/probe-light-intensity</property>
</product>
</expression>
</dim-factor>
<attenuation>
<c>0.1</c>
<l>0.002</l>
<q>0.008</q>
</attenuation>
<exponent>6</exponent>
<cutoff>70</cutoff>
<near-m>0.04</near-m>
<far-m>130</far-m>
</animation>
</PropertyList>