rgbdDecode.fragment.fx 193 B

12345678910
  1. // Samplers
  2. varying vec2 vUV;
  3. uniform sampler2D textureSampler;
  4. #include<helperFunctions>
  5. void main(void)
  6. {
  7. gl_FragColor = vec4(fromRGBD(texture2D(textureSampler, vUV)), 1.0);
  8. }