If this is your first visit, please note that this website is under construction and may drastically change at any time. You will have to register before you can post: click the register link on the right to proceed.

orange451

21 posts
0 likes
Posted January 12th 2019, 12:35 AM
Quick update for the Anarchy Engine. I've been working on supporting transparent materials into the deferred pipeline. So now you can define models like this:




You can define transparency at the "object" level, and also at the "material" level (two different places). This is useful, as in the second picture, the fruitbowl is one model. However, it is composed of two meshes/materials, and the second (bowl) material is marked as transparent.

For some technical information, this is done by creating a secondary transparency buffer (RGBA16F). It's depth buffer is set to the main scene's GBuffer's depth buffer. This gives me free clipping from solid geometry when I draw transparent geometry. Before the transparent render pass, I queue all transparent objects to be drawn to a list, then sort based on distance to the camera. For now it is a fine solution. This may be changed in the future if performance becomes a problem.
0
orange451

21 posts
0 likes
Posted February 26th 2019, 11:02 PM
0
Statistics
Total posts 31 | Total threads 16 | Total members 60 | Newest user Danilo_Pereira

Users online (Last 15 minutes)



Not logged in.
Sign in Not a user? Sign up