fix radiance map settings

This commit is contained in:
clayjohn 2019-05-25 18:57:32 -07:00
parent 5c1cce6e3f
commit 4c55a909ad
3 changed files with 3 additions and 3 deletions

View file

@ -8158,7 +8158,7 @@ void RasterizerStorageGLES3::initialize() {
} }
shaders.cubemap_filter.init(); 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.cubemap_filter.set_conditional(CubemapFilterShaderGLES3::LOW_QUALITY, !ggx_hq);
shaders.particles.init(); shaders.particles.init();

View file

@ -163,7 +163,7 @@ vec2 Hammersley(uint i, uint N) {
#else #else
#define SAMPLE_COUNT 512u #define SAMPLE_COUNT 1024u
#endif #endif

View file

@ -62,7 +62,7 @@ void Sky::_bind_methods() {
} }
Sky::Sky() { Sky::Sky() {
radiance_size = RADIANCE_SIZE_512; radiance_size = RADIANCE_SIZE_128;
} }
///////////////////////////////////////// /////////////////////////////////////////