tried updating to the latest 2.2 today and found a compositor I wrote before seems not to work anymore, I tracked it down to the mipmaps not being generated.
Code: Select all
texture rtMippedDepthBuffer target_width target_height PFG_R32_FLOAT mipmaps 5
target rtMippedDepthBuffer
{
pass render_quad
{
load { all dont_care }
quad_normals camera_far_corners_view_space
material CopyAndLinearizeDepth
input 0 gBufferDepthBuffer
}
pass generate_mipmaps
{
// compute_hq won't work on Mac use MetalTexture::_autogenerateMipmaps instead
mipmap_method api_default
}
}
much thanks
