PDA

View Full Version : Really shiny gold?



Loopy
03-20-2001, 08:33 PM
Howdy

I've seen some great gold effects done lately where the objects look really metalic and shiny and I'm wondering what the best/fastest way to do it is?

For a really shiny effect (not reflecting anything tho) does it have to be a sphere map or can it be done with glMaterialfv somehow (I've tried this but it just looks dull and wrong)?

Any help would be great!

Thanks.

Humus
03-21-2001, 03:36 AM
Use a spheremap, it's quite cheap and works great for shiny stuff.

Relic
03-21-2001, 06:51 AM
For better metal effects look up BRDF (bi-directional reflectance distribution function):
http://www.nvidia.com/Marketing/Developer/DevRel.nsf/bookmark/D081B8131427A50B88256A070076D822

Loopy
03-21-2001, 03:45 PM
Thanks alot guys. I'll see how I go!

Loopy
03-21-2001, 03:56 PM
Hmmm.. if I want to do a shine on a textured object using sphere mapping, do I need to have multiple textures?

Thanks again.

zed
03-21-2001, 05:29 PM
if its a nvidia/ati card u might wanna look at the nv_normal_map extension its cheaper than a spheremap

Loopy
03-22-2001, 02:19 AM
Ignore my above post about the multiple texture stuff I didnt have the code in front of me.

All seems to work now.

Thanks for all the help!