Team Spartan Cookies & Milk Forums
Allowing transparency for rendertargets - Printable Version

+- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk)
+-- Forum: Feedback (https://teamscm.co.uk/forum-9.html)
+--- Forum: Suggestions and improvements (https://teamscm.co.uk/forum-11.html)
+--- Thread: Allowing transparency for rendertargets (/thread-3689.html)



Allowing transparency for rendertargets - The17thDoctor - 30-10-2021

Is it possible perhaps to allow transparency for rendertargets ? Could be really handy when rendering on emitters.


RE: Allowing transparency for rendertargets - The17thDoctor - 30-10-2021

Ah nevermind that, it seems that clearing the RT also puts the background fully black.
For those who are interested, using render.clear(0, 0, 0, 0, true, true) does the trick to still clear as well as keeping things transparent.