skybox.fp 140 B

12345678910
  1. #version 140
  2. in mediump vec3 var_texcoord0;
  3. uniform samplerCube cubemap;
  4. void main()
  5. {
  6. gl_FragColor = texture(cubemap, var_texcoord0);
  7. }