Original Post
Well, after reading most of the lighting section of the Red Book, I was thinking about the best way to acheive the flicker of a candle light, and I've come up with a method, but I'm not sure if it's the best one... I've searched around a bit, but I can't find much on it. I'm quite new to OpenGL lighting, so if it would involve complex shaders, I don't have a clue. :) Ok, so, I'd make a light, in the position of the candle. Then, each frame I'd alter the position ever so slightly, and vary the brightness of the diffuse and specular light emmitted from the candle, using two random numbers generated within a specific range as the position and light intensity offsets. If there's a much better way of doing this, which there probably is, don't hesitate to tell me! :D - Sput [Edited by - LordSputnik on May 20, 2009 3:05:03 AM]