Document visibility AABB caveats with decals, reflection probes and lights
This is required in rendering methods that don't use clustering to check which meshes should be affected by decals, reflection probes and lights.
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
</brief_description>
|
||||
<description>
|
||||
A Spotlight is a type of [Light3D] node that emits lights in a specific direction, in the shape of a cone. The light is attenuated through the distance. This attenuation can be configured by changing the energy, radius and attenuation parameters of [Light3D].
|
||||
[b]Note:[/b] When using the Mobile or Compatibility rendering methods, spot lights will only correctly affect meshes whose visibility AABB intersects with the light's AABB. If using a shader to deform the mesh in a way that makes it go outside its AABB, [member GeometryInstance3D.extra_cull_margin] must be increased on the mesh. Otherwise, the light may not be visible on the mesh.
|
||||
</description>
|
||||
<tutorials>
|
||||
<link title="3D lights and shadows">$DOCS_URL/tutorials/3d/lights_and_shadows.html</link>
|
||||
|
||||
Reference in New Issue
Block a user