Store Depth Buffer in Alpha Channel of Screenshots

More
9 months 1 week ago #1 by Matt Gore
Hi crosire,

Screenshots are currently saved as 32 bit images (R8G8B8A8), however, the alpha channel is unnecessary and just always white. So could we get the option to store the depth buffer in the unused alpha channel? The result itself wouldn't look very interesting but it is useful for later editing to have the additional depth information.

Thx!

Please Log in or Create an account to join the conversation.

More
9 months 1 week ago #2 by crosire
Compressing depth data into 8 bits is not really all that useful. Especially since it would be raw, non-linearized depth data (which is not normalized and therefore does not even fit into the range). And since it is raw, it can be formatted very differently from the color data (e.g. upside down, reversed, ...). So I don't think this would work well.

Please Log in or Create an account to join the conversation.