Skip to content

Commit c9e873d

Browse files
authored
SSR2: Fix local cubemap support
1 parent 8268143 commit c9e873d

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)