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

glsl versions throw error trying to use in webgl #20

Open
thisispete opened this issue Mar 13, 2023 · 1 comment
Open

glsl versions throw error trying to use in webgl #20

thisispete opened this issue Mar 13, 2023 · 1 comment

Comments

@thisispete
Copy link

thisispete commented Mar 13, 2023

I'm seeing an error in the matrix derivative line here:

128:     vec3 derivative = -8.0 * mat4x3(d1, d2, d3, d4) * (aa * a * extrapolations)
^^^ ERROR: '=' : cannot convert from 'highp 4-component vector of float' to 'highp 3-component vector of float'

129:         + mat4x3(g1, g2, g3, g4) * aaaa;
^^^ ERROR: 'mat4x3' : no matching overloaded function found

I know WebGL is an older version of GLSL, maybe too old for this specific implementation?

Maybe a fix is out of scope for your library, or maybe the error I'm seeing has to do with my specific webGL wrapper - possible I'm missing something.

@thisispete
Copy link
Author

probably relevant https://stackoverflow.com/a/27163095

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