SiebenCorgie / jakar-engine

Formerly "Ori-Engine" is an hobby project of mine. Target is an Rust/Vulkan engine for games and visualization software.
MIT License
19 stars 0 forks source link

Fix the normal mapping #11

Closed SiebenCorgie closed 7 years ago

SiebenCorgie commented 7 years ago

I am currently having a rather strange normal mapping issue with my TBN matrix which leads to incorrect behaviour of light and its sources. However I don't know why. It might be an input problem. I am going to investigate this as the next issue because it seriously hurts the graphical appearance.

SiebenCorgie commented 7 years ago

Well, still not working, but I fixed a coordinate space problem so that the meshes and camera is now working correctly. The fix comes from here: https://matthewwellings.com/blog/the-new-vulkan-coordinate-system/