1
0
Fork 0

Add emissive and shininess parameters to default terrain and model effects

Whoops, forgot those.


Author: Tim Moore <timoore@redhat.com>
This commit is contained in:
timoore 2009-11-16 07:24:32 +00:00
parent b1dc60ae24
commit fea02f249c
2 changed files with 9 additions and 0 deletions

View file

@ -26,6 +26,8 @@
<ambient><use>material/ambient</use></ambient> <ambient><use>material/ambient</use></ambient>
<diffuse><use>material/diffuse</use></diffuse> <diffuse><use>material/diffuse</use></diffuse>
<specular><use>material/specular</use></specular> <specular><use>material/specular</use></specular>
<emissive><use>material/emissive</use></emissive>
<shininess><use>material/shininess</use></shininess>
<color-mode><use>material/color-mode</use></color-mode> <color-mode><use>material/color-mode</use></color-mode>
</material> </material>
<blend> <blend>
@ -67,6 +69,8 @@
<ambient><use>material/ambient</use></ambient> <ambient><use>material/ambient</use></ambient>
<diffuse><use>material/diffuse</use></diffuse> <diffuse><use>material/diffuse</use></diffuse>
<specular><use>material/specular</use></specular> <specular><use>material/specular</use></specular>
<emissive><use>material/emissive</use></emissive>
<shininess><use>material/shininess</use></shininess>
<color-mode><use>material/color-mode</use></color-mode> <color-mode><use>material/color-mode</use></color-mode>
</material> </material>
<blend> <blend>

View file

@ -42,6 +42,7 @@
<predicate> <predicate>
<and> <and>
<property>/sim/rendering/shader-effects</property> <property>/sim/rendering/shader-effects</property>
<or> <or>
<less-equal> <less-equal>
<value type="float">2.0</value> <value type="float">2.0</value>
@ -62,6 +63,8 @@
<ambient><use>material/ambient</use></ambient> <ambient><use>material/ambient</use></ambient>
<diffuse><use>material/diffuse</use></diffuse> <diffuse><use>material/diffuse</use></diffuse>
<specular><use>material/specular</use></specular> <specular><use>material/specular</use></specular>
<emissive><use>material/emissive</use></emissive>
<shininess><use>material/shininess</use></shininess>
<color-mode>ambient-and-diffuse</color-mode> <color-mode>ambient-and-diffuse</color-mode>
</material> </material>
<blend><use>transparent</use></blend> <blend><use>transparent</use></blend>
@ -99,6 +102,8 @@
<ambient><use>material/ambient</use></ambient> <ambient><use>material/ambient</use></ambient>
<diffuse><use>material/diffuse</use></diffuse> <diffuse><use>material/diffuse</use></diffuse>
<specular><use>material/specular</use></specular> <specular><use>material/specular</use></specular>
<emissive><use>material/emissive</use></emissive>
<shininess><use>material/shininess</use></shininess>
<color-mode>ambient-and-diffuse</color-mode> <color-mode>ambient-and-diffuse</color-mode>
</material> </material>
<blend><use>transparent</use></blend> <blend><use>transparent</use></blend>