displayPass.fragment.fx 210 B

12345678910111213
  1. #ifdef GL_ES
  2. precision highp float;
  3. #endif
  4. // Samplers
  5. varying vec2 vUV;
  6. uniform sampler2D textureSampler;
  7. uniform sampler2D passSampler;
  8. void main(void)
  9. {
  10. gl_FragColor = texture2D(passSampler, vUV);
  11. }