-
Notifications
You must be signed in to change notification settings - Fork 789
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
shader error in urp: invalid subscript 'shadowCoord' #44
Comments
@cn914287516 I also found that there are two ways to fix it.
-# ifdef _MAIN_LIGHT_SHADOWS
+#if defined(REQUIRES_VERTEX_SHADOW_COORD_INTERPOLATOR) line 562: -# ifdef _ADDITIONAL_LIGHTS
+#if defined(REQUIRES_WORLD_SPACE_POS_INTERPOLATOR) line 997: -# ifdef _MAIN_LIGHT_SHADOWS
+#if defined(REQUIRES_VERTEX_SHADOW_COORD_INTERPOLATOR) line 1001: -# ifdef _ADDITIONAL_LIGHTS
+#if defined(REQUIRES_WORLD_SPACE_POS_INTERPOLATOR) |
Thank you for help! I try this and success! |
* On the way to fix steps. * Checking EvaluateBSDF_Punctual() [skip ci] * fixed adding #define LIGHTLOOP_DISABLE_TILE_AND_CLUSTER in HDRP Shaders.
2020-05-12
☑ QA if the shader error is fixed.
Now, the shader is compatible with SRP 7.1.7, 7.3.1, 8.0.1, 9.0.0preview.
The text was updated successfully, but these errors were encountered: