Blender exported lights are not rendered in game

Version: 1.XX.XX.X

Frequency: Consistently*

Severity: Blocker

Bug description:

exporting any new light type from Blender doesn’t render in game
(yes, I’m exporting punctual lights, gltf contains them)
either parented or not to a mesh

  • documentation on lights is non consistent/non complete and/or Blender plugin is non consistent with 3ds
    e.g. missing Kelving parameter in Blender, FastLight/Street Light, Advanced and SkyPortal Light non documented

minor, double “rotation phase” parameter

Attached full test project including .blend and compiled package

test-objects-2024.zip (578.3 KB)

1 Like

They also don’t match the light orientation in blender. If i change the light to “spot” and make it shine straight down in blender it shines straight up in the sim.
So i have to flip every light for it to be oriented properly in the sim.



They’re not negatively scaled either. They just don’t match blender.
Lights definitely need looking into.

Actually @mamuDesign that may be why you’re not seeing them. I see you have the cone angle set to 90. If you flip them over or change the angle to 360 you might see them.

1 Like

HaHa!

Bingo!

you are right!

1 Like

Haha, yhup. @FlyingRaccoon So the bug is indeed the mismatch between the sim and blender light orientations. When it’s fixed we’ll just have to flip them again i guess.

same light exported from 0.3.3 and from 0.3.4

so the game should be ok, the new exporter light is buggy (inverted 4th rotation value)