Hi, im having my first go at trying to do normal maps using shaders.
So ive done some shaders form tuts, i have per pixel lighting working and i now want to have a go at normal mapping. I have my normal map loaded in ready to go.
Ive found plenty of normal map shader tuts, but they all seem to just “receive” tangents from opengl and i literally dont have a clue what tangents are? Well i know an hours worth of reading from today, but i really dont know…
- What they are?
- Why i need them?
- And how i calculate them (actual code, not therory)
Lamens terms i guess!
Really hope you can help.