UserColor shader should use the normal generator.

--HG--
branch : gsoc2013-dfighter
hg/feature/gsoc2013-dfighter
dfighter1985 11 years ago
parent 4f8ac17529
commit f6737c8aa4

@ -29,21 +29,21 @@ namespace
} }
enum AttribOffset enum AttribOffset
{ {
Position, Position,
Weight, Weight,
Normal, Normal,
PrimaryColor, PrimaryColor,
SecondaryColor, SecondaryColor,
Fog, Fog,
PaletteSkin, PaletteSkin,
Empty, Empty,
TexCoord0, TexCoord0,
TexCoord1, TexCoord1,
TexCoord2, TexCoord2,
TexCoord3, TexCoord3,
TexCoord4, TexCoord4,
TexCoord5, TexCoord5,
TexCoord6, TexCoord6,
TexCoord7, TexCoord7,
NumOffsets NumOffsets
@ -201,6 +201,7 @@ namespace NL3D
switch( material->getShader() ) switch( material->getShader() )
{ {
case CMaterial::Normal: case CMaterial::Normal:
case CMaterial::UserColor:
generateNormalPS(); generateNormalPS();
break; break;
} }

Loading…
Cancel
Save