Bump Mapping
by DarqueLord · in Game Design and Creative Issues · 05/09/2008 (9:13 am) · 5 replies
Is there a shader for just bump mapping that will not make the surface of an object so shiney and reflective? Please help..DL out.
#2
05/09/2008 (2:15 pm)
Thanks for tip Eric. I guess I need to check into shader fx and see what I can come up with. I hope I can help beef up this part of the forums... seems pretty dead. Maybe I will contribute free shaders. DL out...
#3
TDN Materials page.
You can get rid of the specularity totally, but that'll affect your bumpmap. I'd just give it enough of shininess in the alpha channel to get the point across.
Good luck. :)
05/09/2008 (2:21 pm)
Oh, I presumed you already had the materials set up.TDN Materials page.
new Material(OrcSkin)
{
baseTex[0] = "demo/data/shapes/spaceOrc/orc_ID1_skin";
bumpTex[0] = "demo/data/shapes/spaceOrc/orc_ID1_skin_bump";
pixelSpecular[0] = true;
specular[0] = "1.0 1.0 1.0 1.0";
specularPower[0] = 4.0;
};You can get rid of the specularity totally, but that'll affect your bumpmap. I'd just give it enough of shininess in the alpha channel to get the point across.
Good luck. :)
#4
05/09/2008 (6:46 pm)
Hey thanks but I already had the shader working with that shader. Thanks anyway. I am curious to know how adding like ambient occulsion along with normals and diffuse map will affect performance? Is that really cpu draining? DL out.
#5
05/09/2008 (7:49 pm)
Finding that line is difficult, and usually ignored in most games. Especially so-called photorealistic games which seem to have the cleanest, shiniest grit textures on the planet. Condemned 2, Manhunt 2, GTA4, GRAW, GoW, UT3, etc come to mind as games that go for the grit but end up looking like someone polished that grit to perfection. I guess the other side of the coin is that at least it doesn't make your textures look muddy and dull, which has oft-been a complaint in the graphical side of the industry. I just wish piles of dirt or cloth didn't look metallic. Fie on fancy shader tech!
Torque 3D Owner Eric Forhan