Hello, I’ve created a geometry shader for grass rendering which worked perfectly up until I imported it to a different project. No code was changed but now the grass offsets itself when I move the object its on. If the object is at world coordinates (0, 0, 0) with a scale of (1, 1, 1), the grass is in the correct place but as soon as the object is moved or scaled, the grass moves and scales around 2x or 3x what it should.
Here’s when the plane is at (0, 0, 0):
And when I translate the plane up:
I have no idea what could be causing this. All I did was create a new shader and material and copy the source code from the old shader into the new one. Any suggestions would be great!
Thank you!
I’m in URP btw.