#GPU geometry with Graphics.DrawProceduralNow() not working
1 messages · Page 1 of 1 (latest)
You need to have the same reference in shader and script SetBuffer function. The script starts with _ while the shader version does not
ah yeah, thats just left over from trying everything to fix it, even when its correct, it doesnt work
Did you step through the code to make sure all the data is correct on the C# side? Especially during the draw call.
Thinking about it, you would probably need to assign an object transform matrix to the material and perhaps some other stuff as well.
And just to confirm, this is in BIRP, right?
Another thing that could be related is the fact that you're invoking it in update.
And not in OnRenderObject or similar render callback.