Merge pull request #29182 from clayjohn/radiance_map

Fix radiance map settings
This commit is contained in:
Rémi Verschelde 2019-05-27 17:33:45 +02:00 committed by GitHub
commit 9f6eb3882c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -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();

View File

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

View File

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