You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, i've found a bug with the implementation of the mipmap generation in
void TextureVK::resolve function.
Currently it only generates mipmap for one of the faces of the cubemap as seen here. This works fine for dx11 and opengl backends
I have a frame buffer which is filled properly
for(int i = 0; i < 6; ++i)
{
gfx::frame_buffer::ptr output ... per face
gfx::blit(pass.id,
cubemap_fbo->get_texture()->native_handle(),
0,
0,
0,
uint16_t(face),
output->get_texture()->native_handle());
}
after that i use a pass to resolve the texture so it can force generate the mipmaps
and use numLayers instead of _numLayers it fixes it.
I am not sure if it is the same for both VK_IMAGE_VIEW_TYPE_CUBE and VK_IMAGE_VIEW_TYPE_CUBE_ARRAY but i think it is.
Could not find much info about it.
The text was updated successfully, but these errors were encountered:
Hi, i've found a bug with the implementation of the mipmap generation in
Currently it only generates mipmap for one of the faces of the cubemap as seen here. This works fine for dx11 and opengl backends
I have a frame buffer which is filled properly
after that i use a pass to resolve the texture so it can force generate the mipmaps
if i change the function a bit
and use numLayers instead of _numLayers it fixes it.
I am not sure if it is the same for both VK_IMAGE_VIEW_TYPE_CUBE and VK_IMAGE_VIEW_TYPE_CUBE_ARRAY but i think it is.
Could not find much info about it.
The text was updated successfully, but these errors were encountered: