|
Space Sim
|
The setup that interpolates the water grid via time before performing the FFT. More...
Go to the source code of this file.
Macros | |
| #define | N 128 |
| #define | L 1000 |
Functions | |
| layout (local_size_x=16, local_size_y=16, local_size_z=1) in | |
| layout (rgba32f, binding=0) uniform image2D img | |
| layout (std430, binding=14) buffer WaterData | |
| void | main () |
Variables | |
| uniform float | t |
| uniform float | g |
The setup that interpolates the water grid via time before performing the FFT.
Definition in file water.comp.
| #define N 128 |
Definition at line 14 of file water.comp.
| #define L 1000 |
Definition at line 15 of file water.comp.
Referenced by init_water_grid(), and main().
| layout | ( | local_size_x | = 16, |
| local_size_y | = 16, | ||
| local_size_z | = 1 ) |
References layout().
| layout | ( | rgba32f | , |
| binding | = 0 ) |
References layout().
| layout | ( | std430 | , |
| binding | = 14 ) |
Definition at line 18 of file water.comp.
References layout().
| void main | ( | ) |
| uniform float t |
Definition at line 23 of file water.comp.
Referenced by calc_density(), end_timer(), fade(), find_surface_entry(), lerp(), main(), start_timer(), unpack_normal(), update_water_fft(), and wrap_256().
| uniform float g |
Definition at line 24 of file water.comp.
Referenced by display_main_menu().