SearchLight-remb.xml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <PropertyList>
  3. <path>SearchLightCone.ac</path>
  4. <animation>
  5. <type>select</type>
  6. <object-name>light2</object-name>
  7. <condition>
  8. <and>
  9. <property>/sim/rendering/rembrandt/enabled</property>
  10. <greater-than>
  11. <property>/sim/rendering/shaders/lights</property>
  12. <value>0</value>
  13. </greater-than>
  14. </and>
  15. </condition>
  16. </animation>
  17. <animation>
  18. <type>light</type>
  19. <light-type>spot</light-type>
  20. <name>LandingR</name>
  21. <object-name>light2</object-name>
  22. <nopreview/>
  23. <position>
  24. <x>0.0</x>
  25. <y>0.0</y>
  26. <z>0.0</z>
  27. </position>
  28. <direction>
  29. <x>-1.0</x>
  30. <y>0.0</y>
  31. <z>0.0</z>
  32. </direction>
  33. <ambient>
  34. <r>0.03</r>
  35. <g>0.03</g>
  36. <b>0.03</b>
  37. <a>1.0</a>
  38. </ambient>
  39. <diffuse>
  40. <r>0.80</r>
  41. <g>0.80</g>
  42. <b>0.70</b>
  43. <a>1.0</a>
  44. </diffuse>
  45. <specular>
  46. <r>1.00</r>
  47. <g>0.75</g>
  48. <b>0.75</b>
  49. <a>1.0</a>
  50. </specular>
  51. <dim-factor>
  52. <expression>
  53. <product>
  54. <value>-1</value>
  55. <sum>
  56. <product>
  57. <max>
  58. <pow>
  59. <cos><property>/sim/time/sun-angle-rad</property></cos>
  60. <value>0.3</value>
  61. </pow>
  62. <value>0</value>
  63. </max>
  64. <value>1.0</value>
  65. </product>
  66. <value>-1</value>
  67. </sum>
  68. <property>lightpack/search-lights-intensity</property>
  69. </product>
  70. </expression>
  71. </dim-factor>
  72. <attenuation>
  73. <c>0.08</c>
  74. <l>0.002</l>
  75. <q>0.0001</q>
  76. </attenuation>
  77. <exponent>80</exponent>
  78. <cutoff>45</cutoff>
  79. <near-m>0.01</near-m>
  80. <far-m>550</far-m>
  81. </animation>
  82. </PropertyList>