You must be logged in to post Login

Lost Your Password?

Search Forums:


Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

Directional Lights

No Tags

11:03 am
October 3, 2010



posts 49

Originally posted in the comments by: Alvaro:

"Hi paul, is it possible to add a directional light to the scene ?"


Yes, though unfortunately this isn't as simple as saying something like SceneManager.AddLight(…). I've recently done some work on the framework the provides exactly this type of functionality but it's not ready for release yet. In the meantime, you can use the directional lights that are supported through the BasicEffect class. Most of the scene object types supported by the framework use BasicEffect. You'd have to add the same light to each of the objects, but it's pretty simple code. Stay tuned for a future update that supports a flexible lighting system with directional, point, and spot lights.


No Tags

About the Bespoke Software forum

No Comment

Comments are closed.