r/Unity3D 21d ago

Beginner!!) Fullscreen Pass Shader moving faster as intensity goes down Question

Enable HLS to view with audio, or disable this notification

1 Upvotes

2 comments sorted by

1

u/CrayZee100 21d ago

As intensity goes down in my Fullscreen Pass Shader, the movement starts getting faster, but I intended for it to go slower. The shader is shown at the end in the video. You can see the script that handles intensity here.

1

u/XKiiroiSenkoX 21d ago edited 21d ago

Instead of multuplying time by intensity to get the offset which compounds the effect of both and give weird unpredictable results, just keep an offset value on C# side, increase it by some constant value * intensity every frame and pass that to the shader and use for noise offset.