Fix for fuzzy borders

This commit is contained in:
LukasPJ 2015-01-12 17:00:29 +01:00
parent ad7b75de09
commit a3f08df9e3
2 changed files with 2 additions and 2 deletions

View file

@ -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 ) )