Devlog #3
Added lighting using phong illumination and support for transparent materials.
I had to finally add a second rendering pipeline so that colored glass would blend with objects behind it, which made me have to change how I was doing rendering, but it wasn’t that big of a refactor as I expected.
There are no shadows yet, so light stays the same color even if it passes through the glass, so I’ll work on that next, and allowing for rendering multiple models in the same scene.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.