What's the direction of light in the direct session panel?

I was messing with the panel, and I clicked on the “lights” button, which is supposed to toggle the world lights.

I clicked on the lights tab to examine which lights were activated, and I saw 2 - an ambient light and a directional light.

I was able to reproduce the ambient light, but for the directional light, it doesn’t say what the direction vector of the light is.

All it says is:

Light Color: 255, 255, 255, 255
Specular Color: 255, 255, 255, 255

Does anyone know which direction this light is pointing? I really would like to be able to reproduce this in code, but I don’t know the direction. I tried not defining a direction and it did not work.

Any help would be appreciated. Thanks.


any of the panda devs know this one? I can’t seem to reproduce the directional lighting in the placer panel, and it looks so good :frowning:

the ambient light has color VBase4(.3, .3, .3, 1)

the directional light has color VBase4(1) with no directional changes (it points straight forward in the y direction)