Normalmap
Blitz3D Forums/Blitz3D Programming/Normalmap
| ||
My project goes well but I need a good, fast, efficency normalmap system. My graphicsmate makes every texture (specular, normal) and highpoly models if need it. Do you have something? thnx Mike |
| ||
Ross C has this in his signature.HeightMap to NormalMap Convertor - .bb - .exe |
| ||
take a look at envidia plugin for photoshop at nvidia website ->developers ->tools. This tool converts a standard texture to a normalmap one that you can use later in your models. The results are very good and its completely configurable. |
| ||
Ok, I was find this tool. It makes good normalmap textures. And now....? How can I apply in my model. I have to load and setting textureblend 4, this is sure. |
| ||
yes, i think the basic theory for normal mapping is like this.tex=LoadTexture ("normalmap.bmp") TextureBlend tex,4 ;dot3 EntityTexture mesh,tex,0,0 tex2=LoadTexture ("imagemap.bmp") TextureBlend tex2,5 ;multiply 2 EntityTexture mesh,tex2,0,1 There was a post in general discussion that was called "BumpMapping & Lightmaps?" which seems to have disappeared now, but i saved it to my hd because it had the code below, by Red Ocktober. I found it a bit messy but still a good place to start. It uses functions by Aurora which can be found here http://www.blitzbasic.com/codearcs/codearcs.php?code=1148 |
| ||
Thank you, this is great help for me! |