- Home /
Question by
kou · Aug 13, 2013 at 07:52 PM ·
rendertexturealphadrawtextureblend
GUI.DrawTexture to draw a rendertexture with particle shaders in the scene.
On runtime :
-I create a rendertexture with depth of 24 and ARGB32,
-then I assign it to the camera.
-use drawtexture with blend = true to render the rendertexture of the camera.
in the scene I have objects with default shader, and particles like fire and smoke.
the issue is, particles (fire and smoke) are only rendered inside the boundary of the objects with default shader, if the smoke goes higher where the background is no longer any object with default shader, the smoke is not rendered.
Thank you in advance.
issue.jpg
(48.8 kB)
Comment
Best Answer
Answer by kou · Aug 15, 2013 at 04:14 AM
so it's a shader problem, i used Mobile>Particles>Additive and problem solved!