|
inNormal = new Var("normal", "float3");
|
|
inNormal = new Var("normal", "float3");
|
|
meta->addStatement(new GenOp(" @ = float3( 0.0, 0.0, 1.0 );\r\n", new DecOp(inNormal)));
|
|
meta->addStatement(new GenOp(" @ = float3( 0.0, 0.0, 1.0 );\r\n", new DecOp(inNormal)));
|
|
AssertFatal( inNormal, "Something went bad with ShaderGen. The normal should be already defined." );
|
|
AssertFatal( inNormal, "Something went bad with ShaderGen. The normal should be already defined." );
|