-
Notifications
You must be signed in to change notification settings - Fork 0
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
GPU Rendering #3
Comments
Thanks for the report. 🙏 Do you remember what error message you were getting? I never had issues with this. Edit: I see texture2D() was deprecated 12 years ago... lol. I'll change it. |
Please let me know the error if you know, but regardless it should be fixed now, closing. Thanks again. |
This was the error Message Converting "input.png" to equirectangular. fragment_shaderERROR: 0:32: Invalid call of undeclared identifier 'texture2D' |
I found a little bug (I think)
in the ../src/shaders/fragment_to_equirectangular.glsl file I had to change the following lines for me to work.
line 4: uniform sampler2D textureSampler;
line 32: fragColor = texture(textureSampler, uv);
Before I could only render using my CPU.
This fix worked on my end.
Greetings
Oliver
The text was updated successfully, but these errors were encountered: