mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +00:00
Merge pull request #213 from Azaezel/alpha40_gl_terrainfix
typofix in opengl terrain shadergen
This commit is contained in:
commit
73d57e86af
1 changed files with 1 additions and 1 deletions
|
|
@ -1030,7 +1030,7 @@ void TerrainNormalMapFeatGLSL::processPix( Vector<ShaderComponent*> &component
|
||||||
}
|
}
|
||||||
// Normalize is done later...
|
// Normalize is done later...
|
||||||
// Note: The reverse mul order is intentional. Affine matrix.
|
// 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));
|
gbNormal, gbNormal, bumpNorm, viewToTangent, detailBlend, inDet));
|
||||||
|
|
||||||
if (blendTotal)
|
if (blendTotal)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue