polyadvent

A game engine from scratch in C
git clone git://jb55.com/polyadvent
Log | Files | Refs | README

skybox.f.glsl (152B)


      1 #include profile
      2 
      3 out vec4 frag_color;
      4 
      5 in vec3 tex_coords;
      6 
      7 uniform samplerCube skybox;
      8 
      9 void main()
     10 {
     11     frag_color = texture(skybox, tex_coords);
     12 }