1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0026421: Visualization - Incorrect text rendering in raytracing mode

This commit is contained in:
dbp
2015-08-13 11:31:31 +03:00
committed by ski
parent 316d77d981
commit e99a2eef31
2 changed files with 3 additions and 3 deletions

View File

@@ -951,7 +951,7 @@ vec4 Radiance (in SRay theRay, in vec3 theInverse)
else
{
vec4 aGlColor = ComputeOpenGlColor();
aColor = vec4 (BackgroundColor().rgb * aGlColor.w + ComputeOpenGlColor().rgb, aGlColor.w);
aColor = vec4 (mix (aGlColor.rgb, BackgroundColor().rgb, aGlColor.w), aGlColor.w);
}
aResult += aWeight.xyz * aColor.xyz; aWeight.w *= aColor.w;