I want to write a custom shader that can let users to pick which blend mode they want just like the Standard shader, but my question is does explicitly stating “Blend One Zero” incur additional performance cost assuming “ZTest On” and “ZWrite On” and “Queue” = “Opaque” just like regular opaque shader?
Blend One Zero
vs Blend Off
? No, not that I’ve been able to measure. And looking at the rendering from external tools they look exactly the same in terms of both showing blending being disabled. I don’t know if this is done in Unity itself, or by the Graphics API.
1 Like
When we see Blend One Zero
with BlendOp Add
, we turn blending off.
3 Likes