Is it possible to allocate a custom buffer in the urp forward renderer?

The title should be self explanatory. Is it possible to create a custom buffer in the urp forward renderer? If so it would be nice if someone can point me to some resources.

coincendentially just read a thread 4 rows above this one which seems to include everything you are asking for

1 Like

This is not exactly what the OP is asking for, I think. They probably want to allocate a buffer which can be written to from the ForwardLit pass. No extra passes. I think this would be pretty easy to do if you modified URP directly, but I don’t know if you can do so otherwise. You’d need to add the new buffer to the render target array, then in your shader have your output be a struct containing your color outputs instead of returning half4.

1 Like