Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperLicht
Adding lights

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.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Interna?ional" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact