macroquad
macroquad copied to clipboard
16 and 32 bit Textures
It seems at the moment only 8 bit textures are supported.
In miniquad the exposed texture formats
pub enum TextureFormat {
RGB8,
RGBA8,
Depth,
Alpha,
}
Would it be possible to have 16 and 32 bit textures as well?
I would like to use the higher bit depth to store arbitrary data for use with simulations or animations. HDR rendering also comes to mind.
Its not implemented yet, but its very high on my priorities list.
The problem here - those expose TextureFormats are an intersection of texture formats supported by each possible target formats. Unfortunately 16/32 bit formats are not universally supported everywhere :(