Fix EEVEE: Planar Reflection data has inverted facing
Unreported bug
This commit is contained in:
parent
faf563d27c
commit
0461ff764a
|
@ -9,7 +9,7 @@ flat out int probeIdx;
|
|||
|
||||
void main()
|
||||
{
|
||||
gl_Position = ViewProjectionMatrix * probe_mat * vec4(pos, 1.0);
|
||||
worldPosition = (probe_mat * vec4(pos, 1.0)).xyz;
|
||||
worldPosition = (probe_mat * vec4(-pos.x, pos.y, 0.0, 1.0)).xyz;
|
||||
gl_Position = ViewProjectionMatrix * vec4(worldPosition, 1.0);
|
||||
probeIdx = probe_id;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue