mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 03:18:37 +08:00
Merge pull request #29182 from clayjohn/radiance_map
Fix radiance map settings
This commit is contained in:
commit
9f6eb3882c
@ -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 New Issue
Block a user