MaterialX
MaterialX copied to clipboard
Gltf attribute attenuation_distance does not have a default value
As seen here:
<input name="attenuation_distance" uniform="true" type="float" uimin="0" uiname="Attenuation Distance" uifolder="Volume" />
And if I read the specs correctly, the default should be +infinity. Should we represent that using FLOAT_MAX?
It is going to be interesting to build a UI to manipulate that value.
Good point, @JGamache-autodesk, and I wonder if we should select a suitably-large finite value as the canonical default, for the benefit of UI systems that don't support infinity.