|
Space Sim
|
Go to the source code of this file.
Data Structures | |
| struct | Vertex |
Macros | |
| #define | LODMAX 4 |
| #define | MAX_CHUNKS 1000 |
Functions | |
| layout (location=0) in vec3 aPosition | |
| layout (std430, binding=10) buffer DensityVertexData | |
| void | main () |
Variables | |
| uniform mat4 | projection |
| uniform mat4 | view |
| uniform float | uPlanetRadius |
| struct Vertex |
| #define LODMAX 4 |
Definition at line 21 of file shadow.vert.
| #define MAX_CHUNKS 1000 |
Definition at line 22 of file shadow.vert.
| layout | ( | location | = 0 | ) |
References layout().
| layout | ( | std430 | , |
| binding | = 10 ) |
Definition at line 23 of file shadow.vert.
References layout(), and MAX_CHUNKS.
| void main | ( | ) |
Definition at line 28 of file shadow.vert.
References main(), projection, uPlanetRadius, view, and vec3::z.
| uniform mat4 projection |
| uniform mat4 view |
Definition at line 9 of file shadow.vert.
Referenced by layout(), layout(), layout(), main(), and render_sky_cubemap().
| uniform float uPlanetRadius |
Definition at line 10 of file shadow.vert.