Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: Using multiple lights  (Read 1313 times)
bushman_il
Community Member
*
Posts: 2


« on: April 16, 2009, 11:43:43 AM »

Hello,

I found a TV3D volume shadow sample that does not use shaders.  It creates a LightEngine object.  Then creates a point light, I then enable it, and apply shadows.  That works great, however if I try creating more than one point light on that same LightEngine instance (or even creating another instance) and enable the light, I still only see one light in my scene.

Can someone give me a small example of how to enable multiple lights in a scene (using with and without shaders).  I have not had much luck scouring the internet.  I would love to hear the theory of how to make multiple lights work as well if someone is willing to share  Smiley

p.s. I do not have the code handy that I was using, but if this is necessary, let me know and I will post it later tonight.

Thanks!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks