Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


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.

  • You cannot reply to this topic
4 replies to this topic

#1 tcige   Members   -  Reputation: 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



Sponsor:

#2 Krohm   Crossbones+   -  Reputation: 3584

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.



#3 tcige   Members   -  Reputation: 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?



#4 Krohm   Crossbones+   -  Reputation: 3584

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.



#5 tcige   Members   -  Reputation: 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.



PARTNERS