View Full Version : Lighting
idan333
04-13-2003, 11:59 AM
Hi,
I have a Texture program,after i am choosing a texture to a part of my 3D object,the object is becoming dark.
How can make the object to be in the same lighting as it was before my texture mapping?
Thanks a lot ....
raverbach
04-13-2003, 12:25 PM
This Texture program is a fragment program ?
or you are toalking about the standar opengl lighting ?
idan333
04-13-2003, 12:36 PM
Its aprogram that is based on standart opengl lighting .
pkaler
04-13-2003, 01:09 PM
Does this help? http://sjbaker.org/steve/omniv/opengl_lighting.html
raverbach
04-14-2003, 02:23 AM
So try checking the material proprieties and lighting propriety(ambient, diffuse and specular) values http://www.opengl.org/discussion_boards/ubb/smile.gif
then change them until you got the result you desire http://www.opengl.org/discussion_boards/ubb/biggrin.gif
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.