📄 threejs/Core/Nodes/VolumetricLightingModel

File: VolumetricLightingModel.md | Updated: 11/15/2025


title: VolumetricLightingModel category: Core layout: docs

VolumetricLightingModel

VolumetricLightingModel class extends the LightingModel to implement volumetric lighting effects. This model calculates the scattering and transmittance of light through a volumetric medium. It dynamically adjusts the direction of the ray based on the camera and object positions. The model supports custom scattering and depth nodes to enhance the lighting effects.

Constructor

new VolumetricLightingModel()

Source

src/nodes/functions/VolumetricLightingModel.js