martedì 7 luglio 2015

Day 23,24,25: Normal Mapping

In the last two days i didn't have much time, but i started studying how to implement normal mapping.

It was harder than i expected, and today i finally implemented it.

The result is great, it really makes everything more realistic. Now i will soon add specular mapping, it will be pretty easy, i'll just need to embed the specular map in the alpha channel of the normal map, and make reflections less intense where the specular map has a low value.

Now if i need to render a texture without normal map...i can't. I have a little hack to make it work but not good enough, i'm trying to make a system that can handle both, i'll think of something.


Nessun commento:

Posta un commento