PDA

View Full Version : help on OpenGL shading



mightydan
12-08-2003, 09:31 PM
Dear all,

I have an OpenGL 3D application that requires lighting to make the surface more metallic and realistic

how can i turn something like this
http://www.angsnanotek.com.tw/images/imagegallery/sphere_3D.jpg

to this?
http://www.research.ibm.com/nanoscience/index/C_wire2.jpg

I want the surface to have some metallic reflection but can't find a way to do it properly.

Thank you for your help

M/\dm/\n
12-08-2003, 11:43 PM
Images are HUUUUUUUUUGE http://www.opengl.org/discussion_boards/ubb/mad.gif

use GL_LIGHT0 + GL_SPECULAR_MATERIAL or smthn. (forgot as I'm vp+fp'ing now http://www.opengl.org/discussion_boards/ubb/biggrin.gif ).