Open crystalthoughts opened 3 weeks ago
This is a known problem, and there are two issues:
gl_Position
. Right now the parser does not auto-include global variables. I think I need to solve 1 before I can address 2.One quick option you have for now is to parse with {quite: true}
as a parser option. This will hide warnings for truly undefined variables, but it might work for your use case.
Hi - the following shader gives a warning:
Encountered undefined variable: "gl_Position"
is there a way to prevent this? Thanks for your library, so useful :)