mirror of
https://github.com/godotengine/godot.git
synced 2025-04-13 01:00:35 +08:00
Reduce considerably the cubemap sizes on sky, to better match GLES3, fixes #21551
This commit is contained in:
parent
85d44dd7b6
commit
89abfd40ed
@ -965,7 +965,7 @@ void RasterizerStorageGLES2::sky_set_texture(RID p_sky, RID p_panorama, int p_ra
|
||||
// attachements for it, so we can fill them by issuing draw calls.
|
||||
GLuint tmp_fb;
|
||||
|
||||
int size = p_radiance_size;
|
||||
int size = p_radiance_size / 4; //divide by four because its a cubemap (this is an approximation because GLES3 uses a dual paraboloid)
|
||||
|
||||
int lod = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user