Fix GLSL out fragment shader color.

This commit is contained in:
LuisAntonRebollo 2014-11-30 05:32:40 +01:00
parent 80482753e1
commit 4409a12af6
9 changed files with 59 additions and 17 deletions

View file

@ -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");