Project 02 - Shadow Casting
In this project, I have done all the required tasks. Below are the renders I generated.
With GPU acceleration, regular lighting images (point light, spot light and fake shadow with "transparent" object)
are rendered in real time.
For the area lights,
over 1024 (32x32) samples are used in generating soft shadows. The images are rendered in a progressive way and
the typical running time for an image with 1200 shadow samples is 30 seconds.
Images
Click on the images to view full size version.
Image 1: Point Light (the white dot)
Image 2: Point Light Gooch Shading
Image 3: Directional Light
Image 4: Spot Light
Image 5: Soft Spot Light
Image 6: Two Lights
Image 7: Three Lights
Image 8: Soft Shadow with Transparent Objects
Image 10: Soft Shadow with Transparent Objects, Gooch Shading
Image 11: Soft Shadow with Area Light (the white quad)
Image 11: Soft Shadow with Spherical Area Light (the white sphere)
Image 12: Soft Shadow with Area Light, Gooch Shading
Image 12: Soft Shadow with Spherical Area Light, Gooch Shading
Image 13: Multiple Spot Lights with Ray-traced Soft Shadow
Image 14: Special Lighting Effect using Red-Green-Blue Interpolation for Light Color, Soft Shadow