Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

creating a flashlight

$
0
0
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

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>