- Home /
Game objects should change according to graphic quality
when i choose the graphic quality as medium or below that, few shaders didn't work. is there is a way that i can enable lower performance shaders in the selected graphic quality levels. pictures attached
lower graphics settings and sea shader didn't work.
higher graphics settings its works
what i need to do is enable plane sea (low performance shader) in the lower settings.
Answer by ryanmillerca · Jul 16, 2019 at 03:17 PM
There's no built-in functionality that I'm aware of that does this. However, you can write a script that replaces the shader. On Start()
you can use QualitySettings.GetQualityLevel()
https://docs.unity3d.com/ScriptReference/QualitySettings.GetQualityLevel.html to detect the current quality setting, then set the material's shader accordingly using Material.shader =
https://docs.unity3d.com/ScriptReference/Material-shader.html
Your answer
![](https://koobas.hobune.stream/wayback/20220612204942im_/https://answers.unity.com/themes/thub/images/avi.jpg)