Skip to content

Shader displays pink when lighting is toggled off #2

@LtdJorge

Description

@LtdJorge

The shaders don't work when the option to override scene light and use a camera attached light is used (the light bulb symbol near Draw mode and 2D view toggle).
The compiler was complaining about _DebugViewMaterial not being defined, so I swapped the code with what seems to be a new version of the ShaderPassForward.hlsl and it cleared the error, but the materials are still pink.
I can make a PR if you want with the change, but I don't know if more things changed. There are no errors but some warnings appear.

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