You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first problem that #if, #else and #endif lines are not working well:
Could not create the effect due to the following error: /home/mario/meytv/shaders/Warping - texture.glsl (30, 5): Unexpected token after preprocessor, expected newline
/home/mario/meytv/shaders/Warping - texture.glsl (32, 2): #else outside of #if/#ifdef/#ifndef block
/home/mario/meytv/shaders/Warping - texture.glsl (38, 2): #endif outside of #if/#ifdef/#ifndef block
[EDIT] Also, if I comment those lines and lines for PROCEDURAL==1 and I try to make the vec2 warp = texture(... line work, I get no error... but image is unmodified.
☝ This is erroneous: it does work, but the texture that it is used to warp the image does the job (with image moved up-right), and, finally, it dissapears... and then, image is not warped any more. It's a nice warpping effect... I would like it to work, but it isn't indispensable. So, it is not part of the bug.
The text was updated successfully, but these errors were encountered:
I'm trying to make this shader (from https://www.shadertoy.com/view/Xsl3zn) work. :
The first problem that #if, #else and #endif lines are not working well:
[EDIT]
Also, if I comment those lines and lines for PROCEDURAL==1 and I try to make thevec2 warp = texture(...
line work, I get no error... but image is unmodified.☝ This is erroneous: it does work, but the texture that it is used to warp the image does the job (with image moved up-right), and, finally, it dissapears... and then, image is not warped any more. It's a nice warpping effect... I would like it to work, but it isn't indispensable. So, it is not part of the bug.
The text was updated successfully, but these errors were encountered: