tversteeg / chuot

🐭 AGPL licensed Rust game engine for 2D pixel-art games
http://tversteeg.nl/chuot/
GNU Affero General Public License v3.0
22 stars 1 forks source link

Z-index #106

Open suprohub opened 1 week ago

suprohub commented 1 week ago

how set z-index?

tversteeg commented 1 week ago

You can't, the Z index is the drawing order. I considered adding it but it would give some performance overhead because it requires a depth buffer in the shader.

suprohub commented 1 week ago

You can't, the Z index is the drawing order. I considered adding it but it would give some performance overhead because it requires a depth buffer in the shader.

add feature "z-index" for z-index support because its useful