Just implemented this and it works a treat! Thanks a bunch mate 😁
Dobertson
2
Posts
1
Topics
11
Followers
51
Following
A member registered Feb 12, 2019 · View creator page →
Creator of
Recent community posts
Snapshot Shaders Pro for Unity community · Replied to Daniel Ilett in How to change settings at runtime?
Hey, firstly thanks for bundle, lot of really cool and useful shaders. I'm currently trying to simulate first person drunkness using the blur ones 😁
I'm using the URP, and I want to change the settings of the shaders via a script so I can change the strength and focal size of the radial blur at runtime. Would you know how to achieve this?
I know you can set the render using
Camera.main.GetComponent<UniversalAdditionalCameraData>().SetRenderer(index);
but is it possible to manipulate the slider values at runtime?