Open Alex-Lorem opened 2 years ago
Hi @Alex-Lorem,
I can't say without a live example / codepen, but I guess you're not sending the right uniforms to the shaders. There are probably some shader compilation errors showing up in your console.
By the way, you'd probably want to pass the aTextureCoord
attribute as a varying to the fragment shader instead of calculating the UV st
based on the frag coords and resolution (this only works for fullscreen quads).
Cheers,
Hello, I want to make fBm to warp a space of a fBm. Example of this technique on this site https://thebookofshaders.com/13/. I put code in parameter fragmentShader and its doesnt work, maybe i need to change something in vertex parameter?
Thanks for all help u can tell
The code is: