Skip to content

Objects become insensitive to culling mask #6

Description

@andrealesani

Hi, sorry I'm late to the party. Your shader is really awesome, but I can't make it work with multiple cameras and culling masks.

Basically, I would like to see the object with this shader in only one out of two cameras I have in the scene, so I have put the gameobject in a dedicated layer and I have removed said layer from one of the two cameras using the culling mask. The problem is that I will still see that gameobject in that camera as a gray shape.

Is it possible to have one of the cameras ignore the shader completely like it happens with standard materials?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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