project-navigation
Personal tools

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jesusmora

Pages: [1]
1
Coding / About the normal maps
« on: April 07, 2013, 02:42:28 am »
I have an idea about the normal maps. in the game, the normal maps have Red, Blue and Green for the ilumination, and the alpha for displacement, but it requires a png image of big size instead of a jpg.

I have noticed that in all the normal maps, the blue channel is always completely white.
all what is needed for the normal map calculation is a channel for horizontal light and one for vertical, and the blue is used for Z, but it can be done by code.
so what if we use the blue channel for displacement, intead of having it empty?
then, the images will be lighter.

sorry if my english is bad.

Pages: [1]