Normal mapping"help please
by Rastislav Lechner · in General Discussion · 07/15/2008 (3:49 am) · 4 replies
Hello :)
i try to setup normal mapping and bump mapping for some models i made for "TGEA"
can someone just please write a exsample file :)
Materialconfig i think
i need to have some nice reflextions of metal and something i can use for concrete walls =D
it should contain 2-3 things :)
thank you
i try to setup normal mapping and bump mapping for some models i made for "TGEA"
can someone just please write a exsample file :)
Materialconfig i think
i need to have some nice reflextions of metal and something i can use for concrete walls =D
it should contain 2-3 things :)
thank you
About the author
#2
like data/shapes/car/carimage1.jpg ?
or just carimage1.jpg
07/15/2008 (10:37 am)
Thank you konrad but do i need to write the full file direction?=like data/shapes/car/carimage1.jpg ?
or just carimage1.jpg
#3
07/15/2008 (11:05 am)
Put it in the same directory where the texture is, and you don't have to include the path, so only carimage1.
#4
07/15/2008 (11:10 am)
Ok just "carimage1 thank you : )
Associate Konrad Kiss
Bitgap Games
http://tdn.garagegames.com/wiki/TSE/Getting_Started/Materials
Here's an example of a metal material:
new Material(ExampleMetalMaterial) { mapTo = "metalTexture"; baseTex[0] = "metalTexture"; bumpTex[0] = "metalTextureNormalMap"; pixelSpecular[0] = true; specular[0] = "1.0 1.0 1.0 1.0"; specularPower[0] = 64.0; translucent = false; };Check out the Materials Overview section on TDN. It details all the possible parameters you can use in a Material definition.