wave-harmonic / crest

A class-leading water system implemented in Unity
MIT License
3.46k stars 476 forks source link

Search Resources and Addressables when stripping underwater shader keywords #1091

Closed daleeidd closed 1 year ago

daleeidd commented 1 year ago

If a user had ocean materials in either Resources or Addressables, they would not be evaluated when stripping keywords from the underwater shader.

The stripping system is still not perfect and probably never will be. An alternative will need to be explored.

Thanks to Kospy for reporting and providing a solution for Addressables.