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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user