1
0
Fork 0

Fix bumpspec effect

This commit is contained in:
fredb 2010-03-17 17:56:13 +00:00
parent b84c39f1c9
commit 8e95df54e2

View file

@ -31,7 +31,6 @@ in Aircraft/A320/Models/Effects/a320_bumpspec.eff ( or whatever, private to the
<name>Effects/bumpspec</name> <name>Effects/bumpspec</name>
<inherits-from>Effects/model-default</inherits-from> <inherits-from>Effects/model-default</inherits-from>
<generate> <generate>
<normal type="int">15</normal>
<tangent type="int">6</tangent> <tangent type="int">6</tangent>
<binormal type="int">7</binormal> <binormal type="int">7</binormal>
</generate> </generate>
@ -73,21 +72,14 @@ in Aircraft/A320/Models/Effects/a320_bumpspec.eff ( or whatever, private to the
<program> <program>
<vertex-shader n="0">Shaders/bumpspec.vert</vertex-shader> <vertex-shader n="0">Shaders/bumpspec.vert</vertex-shader>
<fragment-shader n="0">Shaders/bumpspec.frag</fragment-shader> <fragment-shader n="0">Shaders/bumpspec.frag</fragment-shader>
<uniform> <attribute>
<name>tex_color</name> <name>tangent</name>
<type>sampler-2d</type> <index>6</index>
<value type="int">0</value> </attribute>
</uniform> <attribute>
<uniform> <name>binormal</name>
<name>tex_normal</name> <index>7</index>
<type>sampler-2d</type> </attribute>
<value type="int">1</value>
</uniform>
<uniform>
<name>tex_specular</name>
<type>sampler-2d</type>
<value type="int">2</value>
</uniform>
</program> </program>
<uniform> <uniform>
<name>tex_color</name> <name>tex_color</name>