Just add specular light! I knew about bumpmapping by adding specular light to the pixel colors to make bump-mapped surfaces look more 'wet', however it didn't look as good as I wanted it to. Then I read online the idea that you do specular bumpmapping, but use a separate height-map for the specular component as light generally tends to reflect off of smoother surfaces. So I took a regular height map for the diffuse light, and a smoothed and contrasted version of it for the specular light and it looked great!
I didn't include sauce because its one of those thrown together jobs where im calculating pixel colors by individually pulling them apart and manipulating them in FB code (bleh! asm version soon) So just an .exe today.
here's it is: http://www.mediafire.com/?1eigjmf2mfbc9pa
this is for the same project the HDR and huge perlin noise thing was for. gotta make it all go fast fast fast!!!
Neat Bumpmapping Trick
Neat Bumpmapping Trick
Last edited by Zamaster on Jun 29, 2011 16:11, edited 1 time in total.