Hi all
Just wondering if anyone can provide some tips on coding a 3D flashlight? I have read XNA Game Studio 2nd Edition and have read the chapter the covers lighting. I have been able to change the brightness of the light example but haven't been able to figure out how to change the ambient lighting, so that the lighting is more pronounced.
Also, I haven't been able to figure out how to "focus" the light used in the example.
Thanks for any help in this matter! I am not creating a game at the moment, just playing with the code from the book.
BTW, I have moved onto "Learning XNA 4.0" using VC# 2010
Just wondering if anyone can provide some tips on coding a 3D flashlight? I have read XNA Game Studio 2nd Edition and have read the chapter the covers lighting. I have been able to change the brightness of the light example but haven't been able to figure out how to change the ambient lighting, so that the lighting is more pronounced.
Also, I haven't been able to figure out how to "focus" the light used in the example.
Thanks for any help in this matter! I am not creating a game at the moment, just playing with the code from the book.
BTW, I have moved onto "Learning XNA 4.0" using VC# 2010