Skip to content

Commit

Permalink
Merge pull request godotengine#43885 from Firepal/3.2
Browse files Browse the repository at this point in the history
Use correct normal for ReflectionProbe in GLES2
  • Loading branch information
akien-mga authored Nov 26, 2020
2 parents b9b773c + ec7a9ca commit 803f6d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/gles2/shaders/scene.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -1600,7 +1600,7 @@ FRAGMENT_SHADER_CODE
#endif
refprobe1_reflection_normal_blend.a,
#else
normal_interp, vertex_interp, refprobe1_local_matrix,
normal, vertex_interp, refprobe1_local_matrix,
refprobe1_use_box_project, refprobe1_box_extents, refprobe1_box_offset,
#endif
refprobe1_exterior, refprobe1_intensity, refprobe1_ambient, roughness,
Expand All @@ -1618,7 +1618,7 @@ FRAGMENT_SHADER_CODE
#endif
refprobe2_reflection_normal_blend.a,
#else
normal_interp, vertex_interp, refprobe2_local_matrix,
normal, vertex_interp, refprobe2_local_matrix,
refprobe2_use_box_project, refprobe2_box_extents, refprobe2_box_offset,
#endif
refprobe2_exterior, refprobe2_intensity, refprobe2_ambient, roughness,
Expand Down

0 comments on commit 803f6d2

Please sign in to comment.