mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-23 08:33:50 +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
|
|
@ -78,9 +78,9 @@ LangElement *ConditionerFeature::assignOutput( Var *unconditionedOutput, ShaderF
|
|||
{
|
||||
color->setName( getOutputTargetVarName(outputTarget) );
|
||||
color->setType( "vec4" );
|
||||
DecOp* colDecl = new DecOp(color);
|
||||
color->setStructName( "OUT" );
|
||||
|
||||
assign = new GenOp( "@ = vec4(@)", colDecl, conditionedOutput );
|
||||
assign = new GenOp( "@ = vec4(@)", color, conditionedOutput );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue