Hey all,
I am in the Graphics Lab at school and this is going really well. I got attenuation working (see images below) and it looks totally sweet!! Also I managed to get shadows working too. The shadows look cool but have "jaggies" on the edges, this is due to sudden changes in intensity and can be fixed with Antialiasing which is something I am eventually going to add to my Raytracer. This ROCKS.
Incorrect lighting vector, but it looks cool!
Correct lighting calculation
Lighting with single parameter attenuation
Lighting with single value and squared attenuation
Shadows!!!
Shadows with cube, fixed surface normals on cube
No comments:
Post a Comment