Skip to content

Commit

Permalink
Tweak default shader.
Browse files Browse the repository at this point in the history
  • Loading branch information
AnalogFeelings committed Oct 7, 2024
1 parent a7a9b4b commit 29f4d7e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Shaders/Main.frag
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ float fmod(float x, float y)
void mainImage(out vec4 fragColor, in vec2 fragCoord)
{
float time = iTime / 5f;
float r = fmod(time, 1.0f);
float g = fmod(time, 2.0f);
float b = fmod(time, 3.0f);
float r = fmod(time, 0.5f);
float g = fmod(time, 1.0f);
float b = fmod(time, 2.0f);

fragColor = vec4(r, g, b, 1.0f);
}

0 comments on commit 29f4d7e

Please sign in to comment.