Monday, May 9, 2016

Progress Punch

Today was a very productive day in terms of learning! I managed to finish up the introductory lighting segments, including calculations for light with a direction, point with a linear/quadratic attenuation, and spot lights that have a blend between inner and outer cones:



As for the dip into more advanced topics, I also reviewed the depth and stencil buffer. I keep forgetting about the stencil buffer due to not finding too many applications for it, but producing outline effects like the image below or some render-to-texture application (Portal, for example) can write in some images in a specific buffer with the stencil buffer operations:


After a quick jaunt through alpha blending, I also went back over the use of framebuffers (render to texture) and its use of renderbuffer objects over textures since they have depth and stencil attachments. Nifty! After playing with a variety of effects, I think I'm ready to move on:







No comments:

Post a Comment