Commit: 0461ff764afbaa58676b6711b2273ee2f9dcd647 Author: Clément Foucault Date: Thu Jan 16 15:42:59 2020 +0100 Branches: blender-v2.82-release https://developer.blender.org/rB0461ff764afbaa58676b6711b2273ee2f9dcd647
Fix EEVEE: Planar Reflection data has inverted facing Unreported bug =================================================================== M source/blender/draw/engines/eevee/shaders/lightprobe_planar_display_vert.glsl =================================================================== diff --git a/source/blender/draw/engines/eevee/shaders/lightprobe_planar_display_vert.glsl b/source/blender/draw/engines/eevee/shaders/lightprobe_planar_display_vert.glsl index 540f2ac4728..65506e5c7b1 100644 --- a/source/blender/draw/engines/eevee/shaders/lightprobe_planar_display_vert.glsl +++ b/source/blender/draw/engines/eevee/shaders/lightprobe_planar_display_vert.glsl @@ -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; } _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs