Hi Jae,

In general OpenGL attributes are clapped to 0 to 1 range.  I have to
recommend that you do some reading up on glLight on the web as it'll
do a much better job of explain things than I can do.

Robert.

On 3/29/07, Jae Whang <[EMAIL PROTECTED]> wrote:

Hi everyone.

This maybe very simple for most of users here.

But I am fairly new to OSG or openGL, so some help would be great.

I have been playing with light recently and i know diffuse, ambient etc.
attributes are between 0 and 1.

However the light was not bright enough and I did not wanted to add extra
lights as the Virtual World is very vast, so adding more lights means lots
of light.

So out of curiosity i made the attributes to 255 and when i rendered the
scene the light got a lot brighter than before.

and I was wondering what is going on?

if i make values to 255 would that be light with value 1(which is maximum
from what i know) * 255

or the maximum values is not 1? but another large number?

again apology for simple question

thanks in advance

Jae
________________________________
FREE pop-up blocking with the new MSN Toolbar MSN Toolbar Get it now!
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to