SurajShettigar
Hello!
I have been trying to wrap my head around the Rigidbody VAT3 Shadergraph for Unity. The Min and Max Bounds has some sort of magic values which makes the simulation work correctly. Changing it slightly breaks the whole simulation. I checked the shadergraph of URP which is quite different than the shader code for standard pipeline.
I followed this tutorial [youtu.be] to create a Rigidbody simulation. Only when I use the values provided in the example project for Bound Min and Max, it seems to work.
I am trying to recreate the shader and have not been able to understand the bound related calculations in the shader.
Hi! The bounds are not just bounds. They are encoded with additional data that VAT shader needs. That's why you have to use the values exported from VAT node and you can't really modify them.
