rgbdEncode.fragment.fx 184 B

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