GDevelop-extensions
GDevelop-extensions copied to clipboard
[3D particle emitter] Z-Fighting? Rendering issue with transparency and other 3D objects
Is there an existing issue for this?
- [X] I have searched the existing issues
Enter the name of the extension
3D Particle emitter
Describe the bug of the extension
First of all thank you for this wonderful extension 🙏
There is a conflict between 3D boxes that use transparency and 3D particles. As a result the particles behind the transparent texture are not rendered correctly, see the image below.
On the left, a 3D box with only 1 rendered face with a radial gradiant texture, and on the right two 3D particle emitters :
Steps to reproduce
- make a 3D box with a png texture, check "enable texture transparency" and place it in the scene
- make a 3d particle emitter and place it somewhere near the 3D box
You might need to move the camera and/or the objects to see the issue.
GDevelop platform
Desktop
GDevelop version
5.3.201
Platform info
Windows 10
Additional context
I did note the same issue with the 3D sprite extension: here I put a simple 3D white sprite with a 90° rotation on X for demonstration.
here is the texture used for the 3D box