CPSC 310 February 28 Assignment

Create vertex and pixel shaders that implement a spotlight. The spotlight should be specified with a location vector, direction vector, and conic angle scalar. If a vertex is in the spotlight's cone of light, the vertex's color should be unchanged, if it is outside it should be scaled to a dark color. To submit your code, zip the directory containing your visual studio project and upload it to the course Inquire site.