Skip to content

Commit

Permalink
Merge pull request godotengine#75664 from BastiaanOlij/fix_sky_frameb…
Browse files Browse the repository at this point in the history
…uffer_init

Fix framebuffers in sky not being created on mobile renderer
  • Loading branch information
akien-mga committed Apr 5, 2023
2 parents d985d55 + 901cd7e commit 0d6a07c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion servers/rendering/renderer_rd/environment/sky.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ void SkyRD::ReflectionData::update_reflection_data(int p_size, int p_mipmaps, bo
mm.size.height = mmh;
mm.view = RD::get_singleton()->texture_create_shared_from_slice(RD::TextureView(), downsampled_radiance_cubemap, 0, j, 1, RD::TEXTURE_SLICE_CUBEMAP);
RD::get_singleton()->set_resource_name(mm.view, "Downsampled Radiance Cubemap Mip " + itos(j) + " ");
if (render_buffers_can_be_storage) {
if (!render_buffers_can_be_storage) {
// we need a framebuffer for each side of our cubemap

for (int k = 0; k < 6; k++) {
Expand Down

0 comments on commit 0d6a07c

Please sign in to comment.