1
0
Fork 0

Automatic moonlight intensity based on the phase of the moon.

The value of "/environment/moonlight" is now automatically set based on the phase of the moon.
Therefore the Moonlight option and slider in the PUI Environment Settings window have been deleted.
This commit is contained in:
Edward d'Auvergne 2015-12-16 20:15:47 +01:00
parent b7a95c3c4f
commit da9e0fc0df

View file

@ -442,53 +442,6 @@
<col>3</col>
</text>
<text>
<enable>
<property>/sim/rendering/shaders/skydome</property>
</enable>
<label> Moonlight</label>
<halign>left</halign>
<row>9</row>
<col>0</col>
</text>
<text>
<enable>
<property>/sim/rendering/shaders/skydome</property>
</enable>
<label>new</label>
<halign>right</halign>
<row>9</row>
<col>1</col>
</text>
<slider>
<enable>
<property>/sim/rendering/shaders/skydome</property>
</enable>
<name>moon</name>
<row>9</row>
<col>2</col>
<min>0.0</min>
<max>1.0</max>
<live>true</live>
<property>/environment/moonlight</property>
<binding>
<command>dialog-apply</command>
<object-name>moon</object-name>
</binding>
</slider>
<text>
<enable>
<property>/sim/rendering/shaders/skydome</property>
</enable>
<label>full</label>
<halign>left</halign>
<row>9</row>
<col>3</col>
</text>
<text>
<enable>
<property>/sim/rendering/shaders/skydome</property>