-
Notifications
You must be signed in to change notification settings - Fork 186
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
Difference in handling textures in glslCanvas and glslViewer #61
Comments
So, basically glslViewer is loading the texture using GL_REPEAT, see https://github.com/patriciogonzalezvivo/glslViewer/blob/16b17f524680f0f50702fc9bb1e61a981386cbbf/src/gl/texture.cpp#L37 While in glslCanvas gl.REPEAT is set just if it is passes through options.
via https://rawgit.com/patriciogonzalezvivo/glslCanvas/master/dist/GlslCanvas.js Is there some documentation about how to pass that option? I am hardcoding it at the moment and it works. |
Hi! so a quick hack for this is to force the repeat using
|
I have simply hardcoded: I wanted to port a sketch done in glslViewer on glslCanvas.Last time that I did it it went smoothly, this time I have some issues, but I am figuring them out. |
I have the same exact code that gives me two different results on glslCanvas and glslViewer.
This is the result using glslViewer:

And this is the result on glslCanvas:

Can it be that gl.REPEAT is different between the two?
The text was updated successfully, but these errors were encountered: