Strange light behaviour

Did anyone else notice this strange behaviour?

light is rotating, lighting up wrong sides.


textureCube.v4p (9.9 kB)

Seems like something weird with the GouraudDirectional, when I replace it wit a GouraudPoint, it seems to work okay.

I would actually interpret this as being correct- if you think of it as a vector rather then a position. So where you have the helper is in this case more like the ‘target’, or the direction that you are pointing the light in.

Arrow (EX9) would be a better helper in this case.

the shader is working, but directional light has no position as the vector is just the direction of incoming light with parallel rays. (think sunlight)