Sign in to follow this  
tcige

put the point light in the back, why the triangle still has the color

Recommended Posts

tcige    206

diffuse light has been blocked, but the ambient light still has

 

in reality, it should be almost black, how can i do that

Share this post


Link to post
Share on other sites
Krohm    5031

If there is ambient light, it will be applied. Turn off ambient. If ambient is already off, check your normals. If normals are ok, check normal and light transform.

Share this post


Link to post
Share on other sites
tcige    206

If there is ambient light, it will be applied. Turn off ambient. If ambient is already off, check your normals. If normals are ok, check normal and light transform.

 

yeah, it's the problem of ambient

 

if i want to keep the ambient part of light and material, can the front triangle be black?

Share this post


Link to post
Share on other sites
tcige    206

No. Ambient is a pure +.

If ambient is (25, 32, 48), those numbers will be added to all shaded pixels with no distance or orientation attenuation. See Mathematics of lighting. Note

 

Global Illumination = Ambient Light + Diffuse Light + Specular Light + Emissive Light

 

Also see Ambient Lighting. Ambient light is "constant" light.

 

thanks a lot

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