6-way lightmap WIP

It looks like your lighting directions are all derived from tangent space?
If that’s the case then they’d need to get transformed to the same space as the light vector (World), or preferably see if you can transform the Light Vector to tangent and see how you fare with that (you’d probably be able to punt that to a vertex interpolator to keep down pixel cost.)

5 Likes