Skip to content
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 Fails on Some Platforms #20

Open
owlboy opened this issue Dec 11, 2017 · 3 comments
Open

Shader Fails on Some Platforms #20

owlboy opened this issue Dec 11, 2017 · 3 comments

Comments

@owlboy
Copy link

owlboy commented Dec 11, 2017

I have successfully used these shaders on my Mac with Unity using OpenGL 3.3 in the past.

The newest release turns magenta, and shows this single error in the console:

Shader error in 'CubedParadox/Flat Lit Toon': invalid subscript '_ShadowCoord' at line 62 (on glcore)

Compiling Vertex program with DIRECTIONAL SHADOWS_SHADOWMASK TINTED_OUTLINE Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_LIGHT_PROBE_PROXY_VOLUME

The shader works as expected when uploaded to VRC. I just don't get a preview.

@owlboy
Copy link
Author

owlboy commented Dec 11, 2017

If this is unavoidable, is there a fallback option for this environment? 😅 I currently won't be able to easily make preview images for VRC on this machine. If it fell back to standard that would be useful.

@owlboy
Copy link
Author

owlboy commented Jan 9, 2018

Current version of the issue (I may have submitted an incomplete log last time):

Shader error in 'CubedParadox/Flat Lit Toon': invalid subscript '_ShadowCoord' at line 63 (on glcore)

Compiling Vertex program with DIRECTIONAL SHADOWS_SHADOWMASK NO_OUTLINE Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_LIGHT_PROBE_PROXY_VOLUME
Shader error in 'CubedParadox/Flat Lit Toon': invalid subscript '_ShadowCoord' at line 136 (on glcore)

Compiling Vertex program with DIRECTIONAL SHADOWS_SHADOWMASK NO_OUTLINE
Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_LIGHT_PROBE_PROXY_VOLUME

@UiharuKazari2008
Copy link

Same issues on my Mac running in Unity 5.6 and in 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants