travisvroman / kohi

A game engine made as part of the Kohi Game Engine series on YouTube (and Twitch!), where we make a game engine from the ground up using C and Vulkan.

Home Page:https://kohiengine.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pre-Multiply Tangent Handedness

travisvroman opened this issue · comments

The handedness that is currently placed into the w component of the tangent could instead be pre-multiplied against the final computed tangent. The tangent could then be converted to a 3-component vector and the extra calculation in the fragment shader could be removed.