fix radiance map settings
This commit is contained in:
parent
5c1cce6e3f
commit
4c55a909ad
3 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
/////////////////////////////////////////
|
||||
|
|
Loading…
Reference in a new issue