Snippets

Joseph Chow RenderBuffer default sim shader

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


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 = vec4( 1.);
}

Comments (0)

HTTPS SSH

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