click banner to play a demo on itch
I put together a sample project showing one way to render 3d glass type models. I had a need for it in a game I am currently working on and decided to share a basic setup project for anyone interested. The glass needs to render transparency and also any topology inside the model, The rendering is done in 2 passes one for the back faces and another for the front faces with a combination blending method, one for each. The shading is just basic diffuse lighting. Cheers~