Sign in to follow this  
MarkS

Question about normal mapping.

Recommended Posts

In wanting to add normal mapping to my tile engine, I ran across a little conundrum. In most cases I've seen (in the 3D sense), the normal map is the same size as the texture. However, in my case that can pose some problems. Lets say that the tiles are 32 x 32 pixels. That may be enough visual information, but it doesn't seem like enough for normals. I can see some possible aliasing issues. I've looked for information on normal mapping in tile engines, but haven't come up with much. I've seen pics of it being done and the results are spectacular, but I guess it isn't very common. As such, it is hard to determine what is "standard". Should the normal map the same size as the tile? Would I get any benefits from making it larger?

Share this post


Link to post
Share on other sites
You won't get any benefit from making the texture larger than it will be when drawn on-screen. If you do make it larger, the gpu will end up selecting a lower mip to avoid swimming artifacts (and to increase performance)

If you have a 1:1 correspondence between on-screen rendered pixels and the texture, you're in perfect shape, there's no way to get any additional information in there, and there's no need to

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this