Snippets

Joseph Chow RenderBuffer simulation glsl template

Created by Joseph Chow
uniform sampler2D originTexture;
uniform sampler2D destinationTexture;

uniform float dT;
uniform float noiseSize;
uniform vec2  resolution;

varying vec2 vUv;


void main(){

  vec2 uv = gl_FragCoord.xy / resolution;
  vec4 oPos = texture2D( originTexture , uv );
  vec4 pos  = texture2D( destinationTexture , uv );

  


  gl_FragColor = pos;


}

Comments (0)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.