• Create Account

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

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

4 replies to this topic

### #1tcige  Members

206
Like
0Likes
Like

Posted 12 April 2013 - 12:21 AM

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

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

### #2MaxDZ8  Members

4976
Like
0Likes
Like

Posted 12 April 2013 - 01:45 AM

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.

Previously "Krohm"

### #3tcige  Members

206
Like
0Likes
Like

Posted 12 April 2013 - 02:20 AM

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?

### #4MaxDZ8  Members

4976
Like
2Likes
Like

Posted 12 April 2013 - 02:30 AM

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.

Previously "Krohm"

### #5tcige  Members

206
Like
0Likes
Like

Posted 12 April 2013 - 02:36 AM

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

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.