Actually respect the low quality cubemap filter on mobile, should fix crashes on mobile for #21551 but not sure on intel.
This commit is contained in:
parent
e3241d5461
commit
85d44dd7b6
1 changed files with 2 additions and 0 deletions
|
@ -4482,6 +4482,8 @@ void RasterizerStorageGLES2::initialize() {
|
|||
|
||||
shaders.copy.init();
|
||||
shaders.cubemap_filter.init();
|
||||
bool ggx_hq = GLOBAL_GET("rendering/quality/reflections/high_quality_ggx.mobile");
|
||||
shaders.cubemap_filter.set_conditional(CubemapFilterShaderGLES2::LOW_QUALITY, !ggx_hq);
|
||||
|
||||
{
|
||||
// quad for copying stuff
|
||||
|
|
Loading…
Reference in a new issue