View Full Version : Values for glMaterial

11-01-2008, 02:25 AM

I search for a collection of values for glMaterial like this: http://wiki.delphigl.com/index.php/Materialsammlung
I'm specially interested in values for Wood and Marble.

Thanks and best wishes from Germany!

11-01-2008, 11:19 AM
I'm specially interested in values for Wood and Marble.

This is very difficult thinking that wood or marble are materials whose color is not uniform, we recognize them firstly by their texture and secondly by their color. You should use texture instead.

11-02-2008, 02:31 AM
Sorry, let me rephrase that. I am using textures already - I search for the values of the light. Such as Shininess and so on..

11-02-2008, 03:39 AM
the problem is that there is no such uniform material properties, wood can either be shiny or dull, likewise marble.
The best way is probably to experiment yourself, it's not about what the "correct" values are, it's about what looks the best for the situation.

11-03-2008, 09:07 AM
some of those values i saw in Advanced Graphics Programming using OpenGL but zeoverlord is right, it depends mostly on the scene.

got it: