Function BindFogParameters
-
BindFogParameters(
scene: Scene,
mesh?: AbstractMesh,
effect?: Effect,
linearSpace?: boolean,
): voidParameters
- scene: Scene
The scene the lights belongs to
Optionalmesh: AbstractMeshThe mesh we are binding the information to render
Optionaleffect: EffectThe effect we are binding the data to
- linearSpace: boolean = false
Defines if the fog effect is applied in linear space
Returns void
- scene: Scene
Binds the fog information from the scene to the effect for the given mesh.