Skip to content

Commit 0beec44

Browse files
committed
docs: adjust aviator demo
1 parent 82095d3 commit 0beec44

File tree

1 file changed

+3
-8
lines changed
  • apps/kitchen-sink/src/app/misc/aviator/lights

1 file changed

+3
-8
lines changed

apps/kitchen-sink/src/app/misc/aviator/lights/lights.ts

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,9 @@ import { NgtArgs } from 'angular-three';
55
selector: 'app-lights',
66
standalone: true,
77
template: `
8-
<ngt-hemisphere-light [color]="'#aaaaaa'" [groundColor]="'#000000'" [intensity]="Math.PI * 0.9" />
9-
<ngt-ambient-light [color]="'#dc8874'" [intensity]="Math.PI * 0.5" />
10-
<ngt-directional-light
11-
[color]="'#ffffff'"
12-
[position]="[150, 350, 350]"
13-
[castShadow]="true"
14-
[intensity]="Math.PI * 0.9"
15-
>
8+
<ngt-hemisphere-light color="#aaaaaa" groundColor="#000000" [intensity]="Math.PI * 0.9" />
9+
<ngt-ambient-light color="#dc8874" [intensity]="Math.PI * 0.5" />
10+
<ngt-directional-light color="#ffffff" [position]="[150, 350, 350]" [castShadow]="true" [intensity]="Math.PI * 0.9">
1611
<ngt-orthographic-camera *args="[-400, 400, 400, -400, 1, 1000]" attach="shadow.camera" />
1712
<ngt-vector2 *args="[4096, 4096]" attach="shadow.mapSize" />
1813
</ngt-directional-light>

0 commit comments

Comments
 (0)