Hello, i am at the very very beginning of shader programming and was wondering if it’s possible to create a “spreadable” integrate-like function in shader.
The idea was to get a random spread of static values from a dynamic buffer and then upadate each slice by adding the initial value after each “iteration”.
I am using SV_InstanceID in vertex shader to get the current instance id.
I have been trying a couple of solutions but none of them have worked.
Any suggestion is welcome, thank you