A setting to prevent all shaders loading when only 1 is needed

Avatar
  • updated

Hello, it would be appreciated to have a setting to avoid loading all the shaders (+material creation) when the game is only asking for 1. I'm only using one type, and all the others are loaded for nothing.

Reporting a bug? please specify Unity version:
Reporting a bug? please specify Shapes version:
Reporting a bug? please specify Render Pipeline:
Built-in render pipeline
Avatar
Freya Holmér creator

Currently this is a tricky one to solve, there's no way to automatically detect this, because immediate mode can't know beforehand which ones are going to be used (unlike component shapes), so it requires designing some sort of manual interface for excluding shaders