ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperLicht
forum topic indicator Adding lights
person icon
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

person icon
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:










 

  

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


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






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