Skip to content

VertxLine.shader transparency in first pass not working? #40

@DoomT-AliW

Description

@DoomT-AliW

I'm not sure why, but the first pass that's supposed to make lines transparent when behind other geometries does not work in the line case. But the arc (sphere) does seem to work, I checked the shaders in both they're pretty much the same I'm not sure what the difference is.

image

I'm just doing a return fixed4(1,0,0,0.5); in the frag function of VertxLine.shader

You can see its solid. I tried ZTest Always and moving the passes around, and Queue=Transparent, didn't help

Any help is appreciated.
Thanks

Using Unity 2023.2.16f1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions