fs_update.sc 280 B

123456789101112131415
  1. $input v_texcoord0
  2. /*
  3. * Copyright 2011-2013 Branimir Karadzic. All rights reserved.
  4. * License: http://www.opensource.org/licenses/BSD-2-Clause
  5. */
  6. #include "../common/common.sh"
  7. SAMPLERCUBE(u_texCube, 0);
  8. void main()
  9. {
  10. gl_FragColor = textureCube(u_texCube, v_texcoord0);
  11. }