Commit 4c55a909 by clayjohn

fix radiance map settings

parent 5c1cce6e
......@@ -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();
......
......@@ -163,7 +163,7 @@ vec2 Hammersley(uint i, uint N) {
#else
#define SAMPLE_COUNT 512u
#define SAMPLE_COUNT 1024u
#endif
......
......@@ -62,7 +62,7 @@ void Sky::_bind_methods() {
}
Sky::Sky() {
radiance_size = RADIANCE_SIZE_512;
radiance_size = RADIANCE_SIZE_128;
}
/////////////////////////////////////////
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment