hlsl normal map shader problem

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
hindupower
Posts: 15
Joined: Thu Sep 27, 2007 7:49 pm

hlsl normal map shader problem

Post by hindupower »

I used a normal map from blender and it doesnt work with a normal map specular shader i made while a normal map from bencloward.com works and i think its because the blender texture is not in tangent space. I dont know how to convert it to tangent. Any help?

thanks
omaremad
Competition winner
Posts: 1027
Joined: Fri Jul 15, 2005 11:30 pm
Location: Cairo,Egypt

Post by omaremad »

Google xNormal, it has tangent to object space and vice versa, or just use it to make the normal map.
"Irrlicht is obese"

If you want modern rendering techniques learn how to make them or go to the engine next door =p
hindupower
Posts: 15
Joined: Thu Sep 27, 2007 7:49 pm

Post by hindupower »

thanks for the quick reply omaremad and i will try to use it, but i have tried this prog before and failed.
Post Reply