Skip to content

More flexible shader name matching #146

@c42f

Description

@c42f

The case of variable names can cause a mismatch between variables in the file and variables in the shader. This is a bit of an unnecessary pain, and it would be useful if we were a bit more flexible about how the matching worked. For robustness and flexibility the name matching could be a two stage process:

  1. Match names exactly if possible, including perfect case matching etc
  2. If no match is found, attempt to match by normalizing to all lowercase, (possibly also removing underscores, etc?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions