Hi I am working on a 2d project - I wanted to know if it was possible to attach custom data into a render on top of the usual rgba. Use compute shaders? Use some custom renderingDevice calls?
Typically each shader will read from screen_texture and write to COLOR which has rgba as the available channels… but supposed I wanted a shader to have some other channels too for whatever reason is there a way to do that? like have it write to COLOR and also to CUSTOM001 or something? and then maybe be able to call in and combine all my layers in a post process shader or something…
what I specifically want to do is render multiple canvas layers separately (which I assume the rendering pipeline does at some point anyway) and be able to composite those multiple renders together myself in a shader - but i dont understand where I would go to do this
I was trying to use multiple viewports, and reading about renderingdevice/renderingserver and trying different post processing effects, its a lot of work to try things out and so far im feeling stuck so I thought I would ask for help - appreciate it if anyone can!