We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ShaderLab code inspection gives an error when a Blend is set to off in a SubShader. Encountered in code distributed in the Amplify Occlusion plugin.
Here's some code that demonstrates the error when used in Rider 2018.1.4 with Unity 2017.4.1f1. Also reproed with latest Rider EAP.
Shader "Unlit/demo" { SubShader { Pass { Blend 0 Off } } }
The text was updated successfully, but these errors were encountered:
@citizenmatt NB: this is not a valid syntax according to the Unity docs, you may want to check with Unity people on the updated parser https://docs.unity3d.com/Manual/SL-Blend.html
Sorry, something went wrong.
Fix parse error for blend with target index
b163fe4
Fixes #723
d6bf31e
citizenmatt
No branches or pull requests
ShaderLab code inspection gives an error when a Blend is set to off in a SubShader. Encountered in code distributed in the Amplify Occlusion plugin.
Here's some code that demonstrates the error when used in Rider 2018.1.4 with Unity 2017.4.1f1. Also reproed with latest Rider EAP.
Shader "Unlit/demo" { SubShader { Pass { Blend 0 Off } } }
The text was updated successfully, but these errors were encountered: