mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-18 04:44:16 +02:00
Set 4th position component from 0.0 to 1.0
This commit is contained in:
parent
05e47ae668
commit
026b19d770
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ vec3 evalGlobalLightingAlphaBlendedWithHaze(
|
|||
vec4 colorV4 = computeHazeColor(
|
||||
vec4(color, 0.0), // fragment original color
|
||||
vec4(position, 0.0), // fragment position in eye coordinates
|
||||
vec4(fragEyeVector, 0.0), // fragment position in world coordinates
|
||||
vec4(fragEyeVector, 1.0), // fragment position in world coordinates
|
||||
invViewMat[3]); // eye position in world coordinates
|
||||
|
||||
color = colorV4.rgb;
|
||||
|
|
Loading…
Reference in a new issue