Home > other >  Opengl animation rendering smoke, noise block movement
Opengl animation rendering smoke, noise block movement

Time:09-26

I use the perlin noise generated smoke and use:
Code from: https://www.shadertoy.com/view/4tdSWr

Vec2 p=fragCoord. Xy/iResolution. Y;
Vec2 uv=p * vec2 (iResolution. X/iResolution. Y, 1.0);
Uv -=time;

To update the coordinates, but in the update after a period of time, noise can appear one by one, small squares into block, where what's the problem?
  • Related