Digit 7

Your source for XNA tutorials and 3D programming ideas.

Home     Shader Tutorials     XNA/C# Downloads     Links      
Introduction
Ambient Lighting
Diffuse Lighting Tutorial
Specular Lighting
Texturing Tutorial
Rim Lighting Tutorial
9/21/09
I was emailed with a great suggestion to create a tutorial on rim lighting. I didn't even know what rim lighting was at first, but after researching a bit I was able to create a rim lighting shader. School is conquering my life right now so I'll just provide you with the project at the moment. Don't worry, I'll eventually start getting some legitimate work done on the website. Anyway, check it out; it gives a really cool glow effect around the edges of the object. I just modified a specular lighting shader, so now you have even more variables to set, yay!

DOWNLOAD Rim Lighting PROJECT HERE