polyadvent

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

skybox.f.glsl (151B)


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