Function ensureTransmissionHelper
-
Parameters
- loader: GLTFLoader
The glTF loader whose material implementations should be registered
- babylonMaterial: Material
A material belonging to the scene where the helper should live
Returns void
- loader: GLTFLoader
Ensures a TransmissionHelper exists on the scene and has all of the loader's material implementations registered with it. Creates the helper if one does not yet exist on the scene, and recreates its render target if it has been disposed. Does nothing when the loader's parent has
dontUseTransmissionHelperset.