Hi,

Intro:

There is an entirely new lighting approach in Broomstick and my
understanding is that currently we can set directional and point
lights by attaching them to materials while ambient light can be set
via ambientColor and ambient properties of material. While this object
model seems to me quite unnatural (it multiplies unnecessary pointers
to light object which are "global" to the scene) I remember a post
where one of away3d developers informed that we can expect global
ambient light class coming soon.

Problem:

Currently I have a major problem in controlling any aspect of ambient
and diffuse lighting. Setting ambientColor and ambient properties to
any values does not change ambient lighting level - textures are
displayed like lit with 100% white light - dimming does not work (at
least I could not find a way to do it). away3d with some materials
provided really fine tuning of ambient light giving a chance to create
very nice effects.

Another problem is that I have no idea how to control properly diffuse
part of directional/point light - it seems that for any value of
diffuse property of light diffuse element is constant. And last but
not least interaction between directional/point lights and ambient
lights does not work as well i.e. it is impossible to set ambient
ligth level for the scene and use additional directional/point lights
to light it correctly.

May I ask for some information how to use correctly lights in
broomstick to go for a bit more complex effects than those provided in
examples (anyway I have not seen ambient light example)

Jacek

Reply via email to