PointLight
PointLight[col_RGBColor, opts___]
PointLight[col_RGBColor, position_, opts___]
represents an artificial point-light source at the given position and parameters provided by options
Graphics3D[{Black,Polygon[ {{-5,5,-1}, {5,5,-1}, {5,-5,-1}, {-5,-5,-1}}], White, Cuboid[{-1,-1,-1}, {1,1,1}], PointLight[Red, {1.5075, 4.1557, 2.6129}, "Intensity"->100], PointLight[Cyan, {-2.4489, -1.9012, 2.8386}, "Intensity"->100]}, "Lighting"->None]
warning
In the case of "PathTracing" renderer, point light can only work if "MultipleImportanceSampling" is enabled in the options of Graphics3D
Options
"Intensity"
An integer number in arbitrary units that sets the brightness of the source
"Decay"
"ShadowBias"
See THREE.js docs
Dynamics
Only position field supports updates. Use gizmo snippet to manipulate the light source position or Offload keyword.
