Skip to content

Commit

Permalink
updating assets and cellular color
Browse files Browse the repository at this point in the history
  • Loading branch information
ameerabuf committed Nov 4, 2024
1 parent dd2248f commit 712d606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/cellular-noise.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const render = {
u_time: 'float',
},
constant: noise.cellular,
main: 'color = vec3(noise(vec3(gl_FragCoord.xy/u_resolution.xy, u_time * 0.0005)));',
main: 'float noiseAmount = vec3(noise(vec3(gl_FragCoord.xy/u_resolution.xy, u_time * 0.0005))).r; color = noiseAmount * vec3(1.0, 0.643, 0.976) + (1.0 - noiseAmount) * vec3(1.0, 0.886, 0.165);',
},
uniforms: [
{
Expand Down

0 comments on commit 712d606

Please sign in to comment.