|
@@ -730,7 +730,7 @@ void TerrainMacroMapFeatHLSL::processPix( Vector<ShaderComponent*> &componentL
|
|
|
}
|
|
|
|
|
|
// Add to the blend total.
|
|
|
- meta->addStatement( new GenOp( " @ = max( @, @ );\r\n", blendTotal, blendTotal, detailBlend ) );
|
|
|
+ meta->addStatement( new GenOp( " @ += @;\r\n", blendTotal, detailBlend ) );
|
|
|
|
|
|
// If this is a prepass then we skip color.
|
|
|
if ( fd.features.hasFeature( MFT_PrePassConditioner ) )
|