Contrails: no longer so bright at night (fixes 48)

This commit is contained in:
Jonathan Redpath 2018-11-16 17:15:52 +00:00
parent 16817413da
commit 1c40db195e
2 changed files with 125 additions and 33 deletions

View file

@ -73,28 +73,74 @@
<particle>
<start>
<color>
<red><value> 0.7 </value></red>
<green><value> 0.7 </value></green>
<blue><value> 0.7 </value></blue>
<alpha><value> 0.3 </value></alpha>
</color>
<color>
<red>
<expression>
<product>
<value>0.7</value>
<property>rendering/scene/diffuse/red</property>
</product>
</expression>
</red>
<green>
<expression>
<product>
<value>0.7</value>
<property>rendering/scene/diffuse/red</property>
</product>
</expression>
</green>
<blue>
<expression>
<product>
<value>0.7</value>
<property>rendering/scene/diffuse/red</property>
</product>
</expression>
</blue>
<alpha>
<value>0.3</value>
</alpha>
</color>
<size>
<value>2</value>
</size>
</start>
<end>
<color>
<red><value> 1.0 </value></red>
<green><value> 1.0 </value></green>
<blue><value> 1.0 </value></blue>
<alpha><value> 1.0 </value></alpha>
</color>
<size>
<value>6</value>
</size>
</end>
<color>
<red>
<expression>
<product>
<value>1.0</value>
<property>rendering/scene/diffuse/red</property>
</product>
</expression>
</red>
<green>
<expression>
<product>
<value>1.0</value>
<property>rendering/scene/diffuse/red</property>
</product>
</expression>
</green>
<blue>
<expression>
<product>
<value>1.0</value>
<property>rendering/scene/diffuse/red</property>
</product>
</expression>
</blue>
<alpha>
<value>0.00000001</value>
</alpha>
</color>
<size>
<value>6</value>
</size>
</end>
<life-sec>
<value>10</value>

View file

@ -71,30 +71,76 @@
<align>billboard</align>
<particle>
<particle>
<start>
<color>
<red><value> 0.7 </value></red>
<green><value> 0.7 </value></green>
<blue><value> 0.7 </value></blue>
<alpha><value> 0.3 </value></alpha>
</color>
<color>
<red>
<expression>
<product>
<value>0.7</value>
<property>rendering/scene/diffuse/red</property>
</product>
</expression>
</red>
<green>
<expression>
<product>
<value>0.7</value>
<property>rendering/scene/diffuse/red</property>
</product>
</expression>
</green>
<blue>
<expression>
<product>
<value>0.7</value>
<property>rendering/scene/diffuse/red</property>
</product>
</expression>
</blue>
<alpha>
<value>0.3</value>
</alpha>
</color>
<size>
<value>2</value>
</size>
</start>
<end>
<color>
<red><value> 1.0 </value></red>
<green><value> 1.0 </value></green>
<blue><value> 1.0 </value></blue>
<alpha><value> 1.0 </value></alpha>
</color>
<size>
<value>6</value>
</size>
</end>
<color>
<red>
<expression>
<product>
<value>1.0</value>
<property>rendering/scene/diffuse/red</property>
</product>
</expression>
</red>
<green>
<expression>
<product>
<value>1.0</value>
<property>rendering/scene/diffuse/red</property>
</product>
</expression>
</green>
<blue>
<expression>
<product>
<value>1.0</value>
<property>rendering/scene/diffuse/red</property>
</product>
</expression>
</blue>
<alpha>
<value>0.00000001</value>
</alpha>
</color>
<size>
<value>6</value>
</size>
</end>
<life-sec>
<value>10</value>