So I’m trying everything I can find on the interwebs including the unity site stuff but I can’t seem to figure out shader LOD’s and how to make them work.
On my shader I’ve set one sub-shader to LOD 500 and a second shader to LOD 100;
Then where do I set the lod settings so that at run-time it will switch between one sub shader or the other based on some variable? I tried making a script that does it on start but that doesn’t do anything. Can anyone give a good explanation of how the system works or point me to one please? Google fails me in this regard.
I never tried it but I thought that setting Shader.globalMaximumLOD would do the trick?
yeah tried that… it does nothing that I can see and I’m setting my fallback to something very different so I should see the difference.
Aha, I have narrowed down the issue. I got LOD’s to work fine on another asset with a test shader. I, however am trying to get this to work on a skybox shader I’m making. Not sure what the difference is but at least I saw it working on something else.
Anyone know why this might not work on a skybox? It’s still just a shader and I’m able to find the shader through script and all that… it just won’t update…