forked from 0ad/0ad
Ykkrosh
b7888aea52
Let materials specify shader uniform values. Use interned strings for shader uniform/attribute names. Remove confusing float* cast operator on CVector4D. Simplify and clean up CVector4D. Remove non-supported 'old' lighting model. This was SVN commit r11453.
9 lines
241 B
XML
9 lines
241 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<material>
|
|
<shader effect="model"/>
|
|
|
|
<define name="USE_SPECULAR" value="1"/>
|
|
<uniform name="specularPower" value="16.0"/>
|
|
<uniform name="specularColor" value="1.0 1.0 1.0"/>
|
|
</material>
|