typofix in opengl terrain shadergen

This commit is contained in:
AzaezelX 2020-06-13 12:02:16 -05:00
parent 341c7eeee1
commit 494049c4f6

View file

@ -1030,7 +1030,7 @@ void TerrainNormalMapFeatGLSL::processPix( Vector<ShaderComponent*> &component
}
// Normalize is done later...
// Note: The reverse mul order is intentional. Affine matrix.
meta->addStatement(new GenOp(" @ = lerp( @, mul( @.xyz, @ ), min( @, @.w ) );\r\n",
meta->addStatement(new GenOp(" @ = lerp( @, tMul( @.xyz, @ ), min( @, @.w ) );\r\n",
gbNormal, gbNormal, bumpNorm, viewToTangent, detailBlend, inDet));
if (blendTotal)