Waterflow
Visualize water in terrain
src/shaders/skyshader.frag File Reference

Fragment shader for skybox rendering. More...

Go to the source code of this file.

Functions

void main (void)

Variables

uniform samplerCube cube_texture
 The cube texture (a cube map)
out vec4 out_Color
 The output color.
in vec3 Position
 Input position.

Detailed Description

Fragment shader for skybox rendering.

Since the skybox texture is a cube map the skybox rendering is super simple.

Definition in file skyshader.frag.

 All Classes Files Functions Variables Enumerations