mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 15:44:36 +00:00
OpenGL: Access viewtangent "DX" style for gbNormal in terrain textures
This commit is contained in:
parent
e9dba74891
commit
0594e13e07
1 changed files with 1 additions and 1 deletions
|
|
@ -610,7 +610,7 @@ void TerrainDetailMapFeatGLSL::processPix( Vector<ShaderComponent*> &component
|
||||||
{
|
{
|
||||||
Var *viewToTangent = getInViewToTangent(componentList);
|
Var *viewToTangent = getInViewToTangent(componentList);
|
||||||
|
|
||||||
meta->addStatement(new GenOp(" @ = lerp( @, @[2], min( @, @.w ) );\r\n",
|
meta->addStatement(new GenOp(" @ = lerp( @, tGetMatrix3Row(@, 2), min( @, @.w ) );\r\n",
|
||||||
gbNormal, gbNormal, viewToTangent, detailBlend, inDet));
|
gbNormal, gbNormal, viewToTangent, detailBlend, inDet));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue