Jump to content

View more

Image of the Day

#ld38 #screenshotsaturday Mimosa Fizz action gif #2 https://t.co/TUzdppvfUL
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

The glLightfv and glLightModelfv

4: Adsense

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
2 replies to this topic

#1 jerry2   Members   

122
Like
Likes
Like

Posted 01 August 2001 - 07:27 PM

The two function both can make an ambient, an diffuse or a specular propertiy,but what''s the difference between their propertiy set such as ambient? have any one got an idea? jerry2 jerry2

#2 zedzeek   Members   

528
Like
Likes
Like

Posted 01 August 2001 - 09:35 PM

glLightModel.(..) can only be used for ambient + not diffuseor specular. it gives a global ambient colour to every lit vertice/polygon in the scene. ie it doesnt come from any light

#3 jerry2   Members   

122
Like
Likes
Like

Posted 02 August 2001 - 02:01 AM

i see.then that means it''s "true" environment light,because the light have no direction and position.is it ture?

thank you

jerry2

jerry2




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.