Shadow Algorithms

The scene contains a 4-sided room that are light-colored blue. Within this scene are various objects included a texture-mapped sphere and several stacked objects. There are 3 different shadow algorithms being used: projective shadows, shadow volumes, and shadow maps. Projective shadows from objects will only cast shadows on the floor and room, but not on each other or themselves. Shadow volumes and shadow maps will cast shadows on both themselves, other objects, and the floor. There is a white point light source which adjustable by a user.

You might be interested in …

Ray Tracer

Ray tracer scene containing a sphere and a triangle. Implemented simple phong lighting (ambient, diffuse, specular model) and also casts shadows.

Read More

Bump Mapped Swimming Fish

The scene contains a bump-mapped floor and a bump-mapped swimming fish. The fish is a cylinder which has been warped using a vertex program. The “wriggles” of the fish body are simulated using a sin wave which starts from the fish midline towards the tail. This animation is controlled using an interface which allows the […]

Read More

Hatching Shader

This is a shader implementation of Real-Time Hatching, Praun et al. [2001]. The scene contains a real-time rendering of hatching strokes over various objects. They use tonal art maps containing different stroke sizes and density at various resolutions. Using these tonal art maps, we can render strokes on complex surfaces.

Read More