Sign in to follow this  
giugio

light system

Recommended Posts

hello.
I'm studing a light system for a simple cad 3d.
I use a three light system(fill,key,back light).
My problem now is that i have some discontinuity in the illumination:
sometimes in some position the light factor is low.
I have two option :
1)insert another light with some compute increment
2)I'm not using the ambient light, is possible to resolve these "light bug" adding an ambient light?
3)add a multiplier factor for the diffuse light and adding an ambient light(.2)?

If i add the ambient light ,how must be intense?
there are some simple equation or a simple system for calculate how much ambient light i must add or i must test it "at hand"?

thanks.

Share this post


Link to post
Share on other sites
Ambient light is the primitive and crude approximation of global illumination - so it is pretty much required for a realistic scene, unless you want to code more advance GI system...

I do not think it is possible to give an analytical formula for "correct" amount of ambient light ;-) - because "correct" depends on how you want your scene to look like. You can always use some modeller and tweak with lights, until you will find a combination that work.

Share this post


Link to post
Share on other sites
[quote name='Lauris Kaplinski' timestamp='1317627784' post='4868508']
Ambient light is the primitive and crude approximation of global illumination - so it is pretty much required for a realistic scene, unless you want to code more advance GI system...

I do not think it is possible to give an analytical formula for "correct" amount of ambient light ;-) - because "correct" depends on how you want your scene to look like. You can always use some modeller and tweak with lights, until you will find a combination that work.


[/quote]

You would usually use 0.2,0.2,0.2 as a light setting for ambient this is a very dark gray and basically says that when the scene isn't lit use 20% of overall light. The factor on diffuse lighting is then 0.8 to make up the rest of the lighting.

These are very course settings and should be varied on a game to game basis and should prefable be set up by an artist so he/she can determine what the right contribution is.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this