Modify Program 8.1 so that the light can be positioned by moving the mouse, similar to Exercise
Question:
Modify Program 8.1 so that the light can be positioned by moving the mouse, similar to Exercise 7.1. You will probably notice that some lighting positions exhibit shadow artifacts, while others look fine.
Program 8.1
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Computer Graphics Programming In OpenGL With JAVA
ISBN: 9781683922193
2nd Edition
Authors: V. Scott Gordon PhD, John L. Clevenger PhD
Question Posted: