Set the opacity texture on mat, which multiplies alpha. Reads mat.opacityLevel
for intensity and mat.opacityFromRGB to derive opacity from RGB luminance instead
of the .a channel. Registers the opacity extension globally (idempotent). Call
before the scene is first built.
Set the opacity texture on
mat, which multiplies alpha. Readsmat.opacityLevelfor intensity andmat.opacityFromRGBto derive opacity from RGB luminance instead of the.achannel. Registers the opacity extension globally (idempotent). Call before the scene is first built.