I need to draw enemy bullets on top of everything else, including particles. I don’t know much about render pipelines and wotnot but was thinking of making a predicate for these bullets so they are drawn last.
Would this be a reasonable approach?
I need to draw enemy bullets on top of everything else, including particles. I don’t know much about render pipelines and wotnot but was thinking of making a predicate for these bullets so they are drawn last.
Would this be a reasonable approach?
Settle down, for this is going to be long…
The answer is: Yes.
So, more seriously, I think that the answer is definitely yes. The cost is that, at a minimum, you will generate at least one extra drawcall. There may be additional considerations that I am not aware of, but I am fairly certain they will be even more negligible. In Fates of Ort I have multiple additional render predicates for various reasons.
Ok, great! Thank you.
It felt like tinkering with dark powers at first but actually took less than 5 minutes to implement and does exactly what I want.