Hi there,
Just a brief question, is there a way/workaround to set a shader fallback based on the current build platform? Like, using a different shader if the game platform is a very weak game console.
Hi there,
Just a brief question, is there a way/workaround to set a shader fallback based on the current build platform? Like, using a different shader if the game platform is a very weak game console.
There are the #pragma only_renderers
or exclude_renderers
you can use so that a given pass is only used for a given platform. There’s a list here, though it seems to be missing the switch
platform which also works. Unity - Manual: HLSL in Unity
Thanks a lot!