Closed andreasplesch closed 3 months ago
The global field of a DirectionalLight node is default false
since X3D version 3.2. Since no X3D version is specified in the file, the latest version is assumed. As the DirectionalLight nodes are in a Transform node, they only illuminate this content, i.e. nothing, as there is no content.
Thanks ! I missed that. Let me close this.
https://create3000.github.io/x_ite/playground/?url=https://gist.githubusercontent.com/andreasplesch/6776aad92cdc069138634985a8a8d00a/raw/11d687753f6134baba1dcca2f7abae7ef2a7b565/rotatingDirLight.x3d
should show a periodic change in lighting (simulating day/night cycles).
But only the headlight is used.
Perhaps I am overlooking something simple.
https://gist.github.com/andreasplesch/6776aad92cdc069138634985a8a8d00a has the commented x3d.