Tuesday, January 15, 2013

Ray Tracer Part 4 - Procedural Shading

For this assignment, we had to add a pattern/texture to the floor of the scene. At different points of intersection, the floor is now different colors.

Initially, the pattern was a checkered Red/Yellow floor, as shown below:


Afterwards, as an "extra", I added another pattern. Now the pattern on the floor is a diagonal, as shown below.

I also allowed for an easy way to make the stripes and grid go at smaller and larger sizes, as shown below.



No comments:

Post a Comment