- Home /
single-pass particle render shader
I want particles to be rendered in a separate layer/pass and then pasted to scene, similar to additive shader. Sort of like you group layers in photoshop and then set a transparency option to the group itself.
In this example I show AlphaBlended shader, then the look I want and lastly, the look I can get but don't want (all particles are adding to each other).
Answer by tanoshimi · Sep 21, 2014 at 07:09 PM
Untested, but it sounds like you might be able to achieve this using BlendOp Min
with Blend srcalpha dstalpha
- http://docs.unity3d.com/Manual/SL-Blend.html
(That is assuming your background is fully opaque and each of your particles is set to, say, 70% alpha.)
BlendOp $$anonymous$$ax is sort of what I was looking for, thanks so much!
But it's not additive, like I wanted, which makes my particles disappear on lighter backgrounds. Wonder if it's possible to make them additive only to background and not themselves?
Your answer
Follow this Question
Related Questions
Particles/Standard unlit behaving differently in different scenes 0 Answers
Rendering a specific pass (ie. camera.RenderPass("Custom")) 0 Answers
How to make additive-shaded particles appear behind sprites? 2 Answers
Shader - Share values between different pass 0 Answers
Transparent Shader Render Order Issue 0 Answers