Skip to content

Rider Shader Variant feature doesn't work well and worsens the situation for .cginc files. #2476

@Henry-Suen

Description

@Henry-Suen

Shader keywords are only detected with "#pragma" in shader files.

Image

But .cginc files function as a part of shader scripts that always don't need declarations of keywords. So those keyword branching parts are all grayed out, which makes editing inefficient. And they can't be enabled due to the incompetence of keyword detection.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions