Advertisement

Latest pointlight Activity

PointLight troubles in directx11

I solved the problem, my normals was incorrect

780 views
Advertisement

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) 

2,683 views

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…

6,932 views
Advertisement
Advertisement