diff --git a/tutorial/03_noise.lolfx b/tutorial/03_noise.lolfx index 871ad20e..861930c8 100644 --- a/tutorial/03_noise.lolfx +++ b/tutorial/03_noise.lolfx @@ -88,7 +88,10 @@ float noise3d(vec3 p) void main(void) { vec2 tmp = pass_Rotation * pass_Position; - float test = tmp.x * tmp.y + 0.75 * sin(3.0 * u_Time); + float test = tmp.x * tmp.y + sin(3.0 * u_Time); + + /* Add some garbage noise */ + test += fract(sin(test * 938.437) * 137.0) / 2.0; vec3 points[4] = (test > 0.0) ? fire : water;