|
Waterflow
Visualize water in terrain
|
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. | |
Fragment shader for skybox rendering.
Since the skybox texture is a cube map the skybox rendering is super simple.
Definition in file skyshader.frag.