Skip to content

Commit a2e350e

Browse files
authored
fix spelling error (#5231)
1 parent 3632142 commit a2e350e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/components/light.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@ creating a child entity it targets. For example, pointing down its -Z axis:
9494
Directional lights are the most efficient type for adding realtime shadows to a scene. You can use shadows like so:
9595

9696
```html
97-
<a-light type="directional" light="castShadow:true;" position="1 1 1" intensity="0.5" shdadow-camera-automatic="#objects"></a-light>
97+
<a-light type="directional" light="castShadow:true;" position="1 1 1" intensity="0.5" shadow-camera-automatic="#objects"></a-light>
9898
```
9999

100-
The `shdadow-camera-automatic` configuration maps to `light.shadowCameraAutomatic` which tells the light to automatically update the shadow camera to be the minimum size and position to encompass the target elements.
100+
The `shadow-camera-automatic` configuration maps to `light.shadowCameraAutomatic` which tells the light to automatically update the shadow camera to be the minimum size and position to encompass the target elements.
101101

102102
### Hemisphere
103103

0 commit comments

Comments
 (0)