🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Latest pointlight Activity
Hi guys!
I implemented a point light. It has a attenuation.
But I don't know this is good attenuation.
Also I'm not sure this is natural point light.
Please give me a feedback!
Thank you!
(BTW It doesn't have other effects like shadow)
You can also have a look at mapping spheres to 2D textures for single pass shadow-map rendering. Last time I checked it is also quite a bit faster than cube-map shadows.
What you get is basically an UV unwrap of the sphere onto a texture, which you then write your depth info to.
When you need to samp…
Advertisement
Advertisement