setBlendingMode
Sets the blending mode of the PhysicallyBasedMaterial.
The blending mode determines how opacity and opacityThreshold are interpreted:
BlendingMode.OPAQUE:
opacityis ignored.BlendingMode.TRANSPARENT / BlendingMode.ADD / BlendingMode.FADE:
opacitycontrols how the material blends with the background;opacityThresholdis ignored. Specifically, BlendingMode.FADE additionally fades specular highlights / reflections together with the surface alpha, while BlendingMode.TRANSPARENT does not.BlendingMode.MASKED:
opacityThresholdis used to clip pixels (alpha test) instead of producing semi-transparent results.
Parameters
blendingMode
The blending mode to be used for the PhysicallyBasedMaterial.
See also
Throws
IllegalStateException
If this material is closed or invalid.