diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-05-27 17:33:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-27 17:33:45 +0200 |
commit | 9f6eb3882c933ea4049e110f2aed333f692d2d41 (patch) | |
tree | 1ff67cf0ab0beb085c486dd40724b760e5bf46f6 /drivers | |
parent | 4c77332e3298427ef5f21fb7247fa822cb179ef4 (diff) | |
parent | 4c55a909ad8a245471d5647d17144ea518dbf58f (diff) |
Merge pull request #29182 from clayjohn/radiance_map
Fix radiance map settings
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gles3/rasterizer_storage_gles3.cpp | 2 | ||||
-rw-r--r-- | drivers/gles3/shaders/cubemap_filter.glsl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gles3/rasterizer_storage_gles3.cpp b/drivers/gles3/rasterizer_storage_gles3.cpp index 247b30811e..8311d0de84 100644 --- a/drivers/gles3/rasterizer_storage_gles3.cpp +++ b/drivers/gles3/rasterizer_storage_gles3.cpp @@ -8158,7 +8158,7 @@ void RasterizerStorageGLES3::initialize() { } shaders.cubemap_filter.init(); - bool ggx_hq = GLOBAL_GET("rendering/quality/reflections/high_quality_ggx.mobile"); + bool ggx_hq = GLOBAL_GET("rendering/quality/reflections/high_quality_ggx"); shaders.cubemap_filter.set_conditional(CubemapFilterShaderGLES3::LOW_QUALITY, !ggx_hq); shaders.particles.init(); diff --git a/drivers/gles3/shaders/cubemap_filter.glsl b/drivers/gles3/shaders/cubemap_filter.glsl index f65f798ff0..619e29b130 100644 --- a/drivers/gles3/shaders/cubemap_filter.glsl +++ b/drivers/gles3/shaders/cubemap_filter.glsl @@ -163,7 +163,7 @@ vec2 Hammersley(uint i, uint N) { #else -#define SAMPLE_COUNT 512u +#define SAMPLE_COUNT 1024u #endif |