ProbeLight-remb.xml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <PropertyList>
  3. <path>ProbeLightCone.ac</path>
  4. <animation>
  5. <type>select</type>
  6. <object-name>light</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>1</value>
  13. </greater-than>
  14. </and>
  15. </condition>
  16. </animation>
  17. <animation>
  18. <type>light</type>
  19. <light-type>spot</light-type>
  20. <name>ProbeR</name>
  21. <object-name>light</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/probe-light-intensity</property>
  69. </product>
  70. </expression>
  71. </dim-factor>
  72. <attenuation>
  73. <c>0.1</c>
  74. <l>0.002</l>
  75. <q>0.008</q>
  76. </attenuation>
  77. <exponent>6</exponent>
  78. <cutoff>70</cutoff>
  79. <near-m>0.04</near-m>
  80. <far-m>130</far-m>
  81. </animation>
  82. </PropertyList>