mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-20 20:05:33 +00:00
Fix GLSL out fragment shader color.
This commit is contained in:
parent
80482753e1
commit
4409a12af6
9 changed files with 59 additions and 17 deletions
|
|
@ -482,8 +482,8 @@ void TerrainDetailMapFeatGLSL::processPix( Vector<ShaderComponent*> &component
|
|||
outColor = new Var;
|
||||
outColor->setType("float4");
|
||||
outColor->setName("col");
|
||||
meta->addStatement(new GenOp(" @;\r\n", new DecOp(outColor)));
|
||||
//outColor->setStructName("OUT");
|
||||
outColor->setStructName("OUT");
|
||||
meta->addStatement(new GenOp(" @;\r\n", outColor));
|
||||
}
|
||||
|
||||
Var *detailColor = (Var*)LangElement::find("detailColor");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue