Converting RGB object space normal map to tangent space normal map

Hey peeps! Trying to do a object space normal to tangent space normal conversion in Unreal 5. This youtube video by Cody Gindy illustrates the process. - Making 3D animation look painterly (it’s easier than you think) - YouTube


I’ve been able to paint the object space map… but the conversion in UE is killing me - you notice the crazy artifacts in the images. Tried a few simple things… any help would be greatly appreciated!!

I’ve found this formula Tg→ N = 0.5 + [ Tg→ ⋅ N → o b j (N → × T g →) ⋅ N o b j N → ⋅ N → o b j] / 2

And attempted to replicate it through the mat editor… not great at math here…

Help?

1 Like

Hi i am having the same problem did you have any luck with it?

No unfortunately. Still looking about. Was hoping someone from Epic would chime in on it.

oof