orels-Unity-Shaders icon indicating copy to clipboard operation
orels-Unity-Shaders copied to clipboard

[ORL-72] Add support for de-duplicating tags

Open orels1 opened this issue 1 year ago • 1 comments

Currently it is possible to define duplicate tags, e.g.

Tags {
  "RenderType" = "Opaque" "RenderType" = "Transparent"
}

While this doesn't cause issues for regular rendering - unity picks the last instance of the tag, it can cause issues with shader replacement and bakery, so duplicate tags should deduplicated and only the last instance should be set in the template

De-duplication should be done using the ShaderParser

From SyncLinear.com | ORL-72

orels1 avatar Jul 03 '24 19:07 orels1

This is included in the upcoming 6.4.0 release

orels1 avatar Jul 03 '24 19:07 orels1