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

generateshader cannot validate shaders with lighting #1979

Open
kwokcb opened this issue Aug 19, 2024 · 0 comments
Open

generateshader cannot validate shaders with lighting #1979

kwokcb opened this issue Aug 19, 2024 · 0 comments

Comments

@kwokcb
Copy link
Contributor

kwokcb commented Aug 19, 2024

The generateshader.py script does not initialize lighting.

If you have a document that requires lighting then the proper code for lighting is not inserted.
Thus it will fail validation. e.g. u_numActiveLightSources is not declared.

You can test validation with glslangValidator for GLSL for instance.

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

1 participant