Skip to content

Commit d3c6833

Browse files
authored
Merge pull request #13592 from BabylonJS/Popov72-patch-1
SSR2: Fix local cubemap support
2 parents f58f780 + c9e873d commit d3c6833

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/dev/core/src/Shaders/screenSpaceReflection2.fragment.fx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ uniform sampler2D depthSampler;
1818
#endif
1919
#ifdef SSR_USE_ENVIRONMENT_CUBE
2020
uniform samplerCube envCubeSampler;
21-
#ifdef USE_LOCAL_REFLECTIONMAP_CUBIC
21+
#ifdef SSR_USE_LOCAL_REFLECTIONMAP_CUBIC
2222
uniform vec3 vReflectionPosition;
2323
uniform vec3 vReflectionSize;
2424
#endif

0 commit comments

Comments
 (0)