not-fl3 / macroquad

Cross-platform game engine in Rust.
Apache License 2.0
3.27k stars 317 forks source link

Fixed render targets not handling depth #739

Open yakkudev opened 3 months ago

yakkudev commented 3 months ago

Modified render_target so it creates a depth texture for the render pass

profan commented 3 days ago

This should probably be optional, otherwise every render target in everyones macroquad projects will now also allocate the depth texture (even if unused)?