Wrong lightmapTexture

I used Blender to simply bake a model, which will become like this after loading the lightmap. Is there any way to make it correct?

this is lightmap

It seems your texture has to be inverted in the Y dimension to apply correctly:

You can do it either by passing false for the 4th parameter of the texture constructor (what I did in the PG) or set vScale=-1 on the texture (line 25 commented in the PG).

1 Like