PlaneTexFShader.fsh 199 B

12345678910
  1. uniform sampler2D Texture;
  2. uniform mediump vec2 RcpWindowSize;
  3. void main()
  4. {
  5. mediump vec2 vTexCoord = gl_FragCoord.xy * RcpWindowSize;
  6. gl_FragColor = texture2D(Texture, vTexCoord);
  7. }