patriciogonzalezvivo / glslCanvas

Simple tool to load GLSL shaders on HTML Canvas using WebGL
http://patriciogonzalezvivo.github.io/glslCanvas/
MIT License
1.95k stars 177 forks source link

Problem with textures #60

Closed edap closed 4 years ago

edap commented 4 years ago

Hello Patricio, I am using glslCanvas (self hosted) to show some shaders fullscreen. I receive this warning message:

"Error: WebGL warning: texImage2D: Alpha-premult and y-flip are deprecated for non-DOM-Element uploads."

The result is totally different from what I obtain using glslViewer.

Do you know if it is something related to glslCanvas? I have prepared a test page containing the error here: https://davideprati.com/artworks/pattern2-argusianus-argus/1.html

The weird thing is that in another page I am also using textures https://davideprati.com/artworks/pattern1-appunti-su-piuma/1.html but it works correctly.

edap commented 4 years ago

I am going to delete issue and write a new one, it simply looks like an incongruency between glslViewer and glslCanvas