Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Packages/com.verasl.water-system/Shaders/GerstnerWaves.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ uniform uint _WaveCount; // how many waves, set via the water component

struct Wave
{
half amplitude;
half direction;
half wavelength;
half2 origin;
half omni;
float amplitude;
float direction;
float wavelength;
float2 origin;
float omni;
};

#if defined(USE_STRUCTURED_BUFFER)
Expand Down