Skip to content

Commit 33d9466

Browse files
John ColomboJohn Colombo
authored andcommitted
Update lightSource attribute of LightLayer
1 parent 4fdb394 commit 33d9466

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/layer/lightlayer.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,15 @@ LightLayer defines no additional attributes, but has different AE properties tha
4141
`app.project.item(index).layer(index).lightSource`
4242

4343
!!! note
44-
`LightLayer.lightSource` was added in After Effects 24.3
44+
`LightLayer.lightSource` was added in After Effects 24.3, but allowed only HDR and EXR layers as sources.
45+
46+
In After Effects (Beta) 25.2.0.098, it was updated to allow any 2D layer type as a source.
4547

4648
#### Description
4749

4850
For a light layer, the layer to use as a light source when `LightLayer.lightType` is `LightType.ENVIRONMENT`.
4951

50-
`LightLayer.layerSource` must be a footage layer referencing a .EXR or .HDR footage item. Trying to set this attribute to any other layer produces an error.
52+
`LightLayer.lightSource` can be any 2D video, still, or pre-composition layer in the same composition. Attempting to assign a 3D layer as the `.lightSource` will result in an "Invalid light source specified" error.
5153

5254
---
5355

0 commit comments

Comments
 (0)