In 2023, we added commands, functions, and a new material API.
Python
vrSpectrum, and functions like vrdPlasticMaterial.setDiffuseColorSpectrum, to set a spectrum to a material.vrdBaseLightNode.getDiffuseColorSpectrum, vrdBaseLightNode.setDiffuseColorSpectrum, vrdBaseLightNode.getGlossyColorSpectrum, and vrdBaseLightNode.setGlossyColorSpectrum to set a spectrum to a light. This can be very helpful when creating variant sets to switch between different colors, without duplicating the light.