What is Nostr?
Rie :godot: /
npub1s2k…mk9t
2024-12-08 23:43:20

Rie :godot: on Nostr: Implemented mipmapping and normal mapping. Got stumped for a long time because (1) I ...

Implemented mipmapping and normal mapping. Got stumped for a long time because (1) I didn't know you _have_ to generate binormals at loadtime using the cross product (I thought they were included in the file) and that it must be multiplied by the provided tangent's w component and (2) Slang seems to work differently with matrices and I kept getting wrong results. Still haven't fully figured out why or what the difference is, but it seems to work for now.

#Vulkan

Author Public Key
npub1s2kws3wgajpk4qrlmfuq8q5uyy0j0pgl6qjgmn7n2r067n5n84asffmk9t