-
-
Notifications
You must be signed in to change notification settings - Fork 267
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
using 2 textures in GLSL #313
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I' testing mix of 2 textures, but only the first one is used.
In the ressource manager both are displayed and binding is 0 and 1.
But in this simple fragment shader:
uniform sampler2D tex0;
uniform sampler2D tex1;
..
vec2 uv = gl_FragCoord.xy/uResolution;
vec4 color0 = texture(tex0, uv);
vec4 color1 = texture(tex1, uv);
only the first one is used.
Thanks
Ralf
The text was updated successfully, but these errors were encountered: