0 votes

I am trying to export my game for HTML5 so I converted project in GLES2 from GLES3. The game heavily depends on shaders. In GLES3 I was using texelFetch to access some data in shader script but once I converted it to GLES2 I get following error:

"texelFetch(sampler2D, ivec2, int)" is supported only on high-end platform!

Is there any other way to access sampler2D values? texture( sampler2D, UV) doesn't work because it doesn't return exact values (I searched and found out that it applies some filters but I'm not sure what that means)

in Engine by (16 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.