Can't draw material to render target, just output black

Oh my god, you are my savior!!!
My goal is to have the materials for the avatar’s clothes and accessories, as determined in the game lobby, in one texture atlas at runtime.
I think this will reduce the memory and drawcall burden!

After much searching and experimenting with relevant keywords, I came to the conclusion that to achieve my goal, I needed to pull out Materials as render targets.
Below is the thread I wrote during my search.

1 Like