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

Change matrix types to float32 #13

Closed
wants to merge 2 commits into from

Conversation

tkwiatek
Copy link

@tkwiatek tkwiatek commented Dec 9, 2022

The problem with disappearing textures was that during many animation operations after a long time some values fell into the double precision range, webgl shaders only support single precision. I applied values saturation and replaced all the variables needed for the shader with Float32.

@tkwiatek tkwiatek closed this Dec 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant