Use correct normal for ReflectionProbe in GLES2
This commit is contained in:
parent
b9b773c3f0
commit
ec7a9ca018
1 changed files with 2 additions and 2 deletions
|
@ -1600,7 +1600,7 @@ FRAGMENT_SHADER_CODE
|
||||||
#endif
|
#endif
|
||||||
refprobe1_reflection_normal_blend.a,
|
refprobe1_reflection_normal_blend.a,
|
||||||
#else
|
#else
|
||||||
normal_interp, vertex_interp, refprobe1_local_matrix,
|
normal, vertex_interp, refprobe1_local_matrix,
|
||||||
refprobe1_use_box_project, refprobe1_box_extents, refprobe1_box_offset,
|
refprobe1_use_box_project, refprobe1_box_extents, refprobe1_box_offset,
|
||||||
#endif
|
#endif
|
||||||
refprobe1_exterior, refprobe1_intensity, refprobe1_ambient, roughness,
|
refprobe1_exterior, refprobe1_intensity, refprobe1_ambient, roughness,
|
||||||
|
@ -1618,7 +1618,7 @@ FRAGMENT_SHADER_CODE
|
||||||
#endif
|
#endif
|
||||||
refprobe2_reflection_normal_blend.a,
|
refprobe2_reflection_normal_blend.a,
|
||||||
#else
|
#else
|
||||||
normal_interp, vertex_interp, refprobe2_local_matrix,
|
normal, vertex_interp, refprobe2_local_matrix,
|
||||||
refprobe2_use_box_project, refprobe2_box_extents, refprobe2_box_offset,
|
refprobe2_use_box_project, refprobe2_box_extents, refprobe2_box_offset,
|
||||||
#endif
|
#endif
|
||||||
refprobe2_exterior, refprobe2_intensity, refprobe2_ambient, roughness,
|
refprobe2_exterior, refprobe2_intensity, refprobe2_ambient, roughness,
|
||||||
|
|
Loading…
Reference in a new issue