Good evening, I am creating a small 3D game engine with just lua love2d, I have 2 cubes which rotate on themselves and one behind the other.
The furthest cube is displayed in front of the closest one which is a problem.
so I use love.graphics.setDepthMode("lequal", true) and everything works perfectly on Mac but when I try on Windows it doesn't work.
I specify that I have the same code on both platforms.
Can someone help me please.
love.graphics.setDepthMode("lequal", true) does not work on Windows
- slime
- Solid Snayke
- Posts: 3170
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: love.graphics.setDepthMode("lequal", true) does not work on Windows
If you're rendering to the main screen, are you making sure to set t.window.depth = 24 in love.conf? Or if you're rendering to a canvas, are you making sure to tell love to use a depth buffer in love.graphics.setCanvas?
Who is online
Users browsing this forum: Ahrefs [Bot] and 16 guests