leetvr / hotham

Hotham is a tool for creating incredible standalone VR games.
Apache License 2.0
388 stars 28 forks source link

[Rendering] Support loading tangents from assets again #393

Closed kanerogers closed 1 year ago

kanerogers commented 1 year ago

Background

We've gone back and forth on tangents a couple times; @rasmusgo found that computing tangents on the fly is actually quicker, so we've implemented this in https://github.com/leetvr/hotham/pull/342

However, some models simply require tangents that were calculated offline, eg.

image image

kanerogers commented 1 year ago

False alarm! This can be fixed by baking a tangent space normal map in substance painter:

image image

rasmusgo commented 1 year ago

Geez, you startled me! 😅