mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
bugfix #1066
texcoord connector on the vertexshader to avoid link time error
This commit is contained in:
parent
62f880af24
commit
1751e60734
1 changed files with 15 additions and 1 deletions
|
|
@ -111,6 +111,20 @@ ShaderFeature::Resources PixelSpecularGLSL::getResources( const MaterialFeatureD
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void SpecularMapGLSL::processVert(Vector<ShaderComponent*> &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<ShaderComponent*> &componentList, const MaterialFeatureData &fd )
|
void SpecularMapGLSL::processPix( Vector<ShaderComponent*> &componentList, const MaterialFeatureData &fd )
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue