bagg Registered User |
Quote
|
2011-10-11 11:20:30 |
|
Hi niko.
Can you please give me an example on how to add a light in a scene because i think documentation of the light is alitlle bit messy.
Thanks
|
niko Moderator |
Quote
|
2011-10-11 21:52:00 |
|
Hm, maybe you are right, a tutorial would be nice.
But basically, everything should be straight forward. Just create a light scene node and set the Attenuation and Color of its LightData. The material of each scene node has a member 'Lighting', the documentation is missing this here somehow (will be corrected). Just set this to 'true', and that material will then receive the light.
|