diff --git a/Engine/source/shaderGen/GLSL/pixSpecularGLSL.cpp b/Engine/source/shaderGen/GLSL/pixSpecularGLSL.cpp index 4e34e2116..2ecb56df6 100644 --- a/Engine/source/shaderGen/GLSL/pixSpecularGLSL.cpp +++ b/Engine/source/shaderGen/GLSL/pixSpecularGLSL.cpp @@ -111,6 +111,20 @@ ShaderFeature::Resources PixelSpecularGLSL::getResources( const MaterialFeatureD return res; } +void SpecularMapGLSL::processVert(Vector &componentList, const MaterialFeatureData &fd) +{ + MultiLine *meta = new MultiLine; + + // Add the texture coords. + getOutTexCoord("texCoord", + "vec2", + true, + fd.features[MFT_TexAnim], + meta, + componentList); + + output = meta; +} void SpecularMapGLSL::processPix( Vector &componentList, const MaterialFeatureData &fd ) { @@ -150,4 +164,4 @@ void SpecularMapGLSL::setTexData( Material::StageData &stageDat, passData.mSamplerNames[ texIndex ] = "specularMap"; passData.mTexSlot[ texIndex++ ].texObject = tex; } -} \ No newline at end of file +}