unity3d - How can I render two transparent objects as one continuous object? -
i'm struggling transparency right 2 objects overlap , work 1 layer. ideally i'd have 1 big red field on skybox instead have moments transparency adds up. there effective way around this?
what want (from angles): http://imgur.com/sn8sotz
what looks (from angle see them intersect): http://imgur.com/q7an21v
current shader code:
shader "mobile/particles/ballshader" { properties { _color("main color", color) = (1,1,1,.1) } category { tags { "queue"="transparent" "rendertype"="transparent" } blend oneminusdstcolor 1 // soft additive lighting off zwrite on ztest lequal subshader { color [_color] pass { } } } }
edit: got closer solving things without real understanding of how. unity's built in particles/additive deals problem.
Comments
Post a Comment