[x3d-public] lights in switch nodes

Andreas Plesch andreasplesch at gmail.com
Fri May 11 08:49:54 PDT 2018


Since lights are child nodes, they can occur as children of switch nodes.

Presumably that means that only light nodes which are traversed in the
switch are active and should be used for illumination. Others occuring
in the switch should be turned off. Is that the intended behaviour ?

I am asking because switch is mostly used with Shape nodes, and x3dom
currently uses all lights whereever they occur.

Thanks, Andreas

-- 
Andreas Plesch
Waltham, MA 02453



More information about the x3d-public mailing list