Skip to content

Commit 8469aa9

Browse files
committed
fix: adjust light intensity
1 parent a4bdc4f commit 8469aa9

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

src/stories/scene-wrapper/axes-scene-wrapper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ export const axesSceneWrapper = (content: string) => `
1111
<atft-scene atft-stats-auto-show>
1212
<atft-axes-helper [size]=200></atft-axes-helper>
1313
<atft-grid-helper [size]=100 [divisions]=10 [rotateX]="90 | deg2rad"></atft-grid-helper>
14-
<atft-point-light [intensity]="0.5" [distance]="1000" [translateX]=90 [translateY]=90
14+
<atft-point-light [intensity]=10000 [distance]="1000" [translateX]=90 [translateY]=90
1515
[translateZ]=90></atft-point-light>
16-
<atft-point-light [intensity]="0.8" [distance]="1000" [translateX]="-60" [translateY]="-60"
16+
<atft-point-light [intensity]="50000" [distance]="1000" [translateX]="-60" [translateY]="-60"
1717
[translateZ]="50"></atft-point-light>
1818
${content}
1919
</atft-scene>

src/stories/scene-wrapper/effects-scene-wrapper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ export const effectsSceneWrapper = (content: string) => `
1212
<atft-scene name="scene" [background]="background">
1313
${content}
1414
15-
<atft-point-light [intensity]="0.5" [distance]="1000" [translateX]=90 [translateY]=90
15+
<atft-point-light [intensity]="30000" [distance]="1000" [translateX]=90 [translateY]=90
1616
[translateZ]=90></atft-point-light>
17-
<atft-point-light [intensity]="0.8" [distance]="1000" [translateX]="-60" [translateY]="-60"
17+
<atft-point-light [intensity]="20000" [distance]="1000" [translateX]="-60" [translateY]="-60"
1818
[translateZ]="50"></atft-point-light>
1919
2020
<atft-box-mesh *ngFor="let item of [].constructor(20); let i = index"

src/stories/scene-wrapper/performance-scene-wrapper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ export const performanceSceneWrapper = (content: string) => `
99
<atft-renderer-canvas>
1010
<atft-perspective-camera [zAxisUp]="true" positionX=50 [positionY]=-20 [positionZ]=50></atft-perspective-camera>
1111
<atft-scene atft-stats-auto-show>
12-
<atft-point-light [intensity]="0.5" [distance]="100" [translateX]=90 [translateY]=90
12+
<atft-point-light [intensity]="30000" [distance]="100" [translateX]=90 [translateY]=90
1313
[translateZ]=90></atft-point-light>
14-
<atft-point-light [intensity]="0.8" [distance]="1000" [translateX]="-60" [translateY]="-60"
14+
<atft-point-light [intensity]="20000" [distance]="1000" [translateX]="-60" [translateY]="-60"
1515
[translateZ]="50"></atft-point-light>
1616
${content}
1717
</atft-scene>

src/stories/scene-wrapper/ux-scene-wrapper.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ export const uxSceneWrapper = (content: string) => `
99
<atft-orthographic-camera [positionX]=0 [positionY]=0 [positionZ]="100" [zoom]="4">
1010
</atft-orthographic-camera>
1111
12-
<atft-scene name="scene" background="0xFFFFFF">
12+
<atft-scene name="scene" [background]="'#FFFFFF'">
1313
<atft-ambient-light color="#FFFFFF" [intensity]="0.4"></atft-ambient-light>
1414
15-
<atft-point-light [intensity]="0.5" [distance]="1000" [translateX]=90 [translateY]=90
15+
<atft-point-light [intensity]="20000" [distance]="1000" [translateX]=90 [translateY]=90
1616
[translateZ]=90></atft-point-light>
17-
<atft-point-light [intensity]="0.8" [distance]="1000" [translateX]="-60" [translateY]="-60"
17+
<atft-point-light [intensity]="10000" [distance]="1000" [translateX]="-60" [translateY]="-60"
1818
[translateZ]="50"></atft-point-light>
1919
2020
${content}

src/stories/scene-wrapper/world-scene-wrapper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ export const worldSceneWrapper = (content: string) => `
1616
[receiveShadow]="true" heightSegments="10" widthSegments="10" [translateZ]="-0.1">
1717
</atft-plane-mesh>
1818
<!--atft-axes-helper-- [size]=1000></atft-axes-helper-->
19-
<atft-hemisphere-light name="hemi-light" skyColor="#ffffff" groundColor="#ffffff" [intensity]="0.3"
19+
<atft-hemisphere-light name="hemi-light" skyColor="#ffffff" groundColor="#ffffff" [intensity]="0.8"
2020
[translateX]="-20" [translateY]="-20" [translateZ]="100">
2121
</atft-hemisphere-light>
2222
<!--<atft-directional-light color="#ffffff" [intensity]="0.7" [translateX]="20" [translateY]="-50" [translateZ]="50">
2323
</atft-directional-light>-->
24-
<atft-point-light name="point-light" [intensity]="1" [translateX]="60" [translateY]="-120" [translateZ]="50" [castShadow]="true"></atft-point-light>
24+
<atft-point-light name="point-light" [intensity]="10000" [translateX]="60" [translateY]="-120" [translateZ]="50" [castShadow]="true"></atft-point-light>
2525
${content}
2626
</atft-scene>
2727
</atft-renderer-canvas>

0 commit comments

Comments
 (0)