Ripple ShaderMaterial

I’m trying to replicate this ripple shader on shadertoy in this playground, but for some reason I am unable to. Does anyone see where my problem is?

The explanation logic of what I was trying to do is also found here: Adrian Boeing: Blog: Ripple effect in WebGL .

“resolution” is missing from uniforms parameter and effect assignment.

btw you can use these thingies `` like

const someShaderString = ` //<---
  void main(void) {
    //shadercode
  }
` //<--
1 Like

Here we are:
RippleShader | Babylon.js Playground (babylonjs.com)

1 Like

Wow… I sat here for an ungodly amount of time trying to debug this just for it to be missing resolution… Thank you so much guys

1 Like