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