File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ export const Example = () => {
2727
2828 { /* Create a camera entity */ }
2929 <Entity name = ' camera' position = { [5 , 1 , - 5 ]} >
30- <Camera clearColor = ' #090707' fov = { 45 } />
30+ <Camera clearColor = ' #090707' fov = { 45 } renderSceneColorMap = { true } />
3131 <OrbitControls inertiaFactor = { 0.07 } distanceMin = { 3 } distanceMax = { 10 } pitchAngleMin = { 1 } pitchAngleMax = { 90 } />
3232 { asset && <PostEffects />}
3333 <AutoRotate />
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export const ModelViewer = () => {
1818
1919 { /* Create a camera entity */ }
2020 <Entity name = ' camera' position = { [4 , 1 , 4 ]} >
21- <Camera clearColor = ' #090707' fov = { 28 } />
21+ <Camera clearColor = ' #090707' fov = { 28 } renderSceneColorMap = { true } />
2222 <OrbitControls inertiaFactor = { 0.07 } distanceMin = { 6 } distanceMax = { 10 } pitchAngleMin = { 1 } pitchAngleMax = { 90 } />
2323 { asset && <PostEffects />}
2424 <AutoRotate />
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export const Demo = () => {
1212
1313 { /* Create a camera entity */ }
1414 <Entity name = ' camera' position = { [4 , 1 , 4 ]} >
15- <Camera />
15+ <Camera renderSceneColorMap = { true } />
1616 <OrbitControls inertiaFactor = { 0.07 } distanceMin = { 6 } distanceMax = { 10 } pitchAngleMin = { 1 } pitchAngleMax = { 90 } />
1717
1818 </Entity >
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ const Example = () => {
2020 < Grid />
2121 < ShadowCatcher width = { 5 } depth = { 5 } />
2222 < Entity name = 'camera' position = { [ 4 , 1 , 4 ] } >
23- < Camera clearColor = '#090707' fov = { 28 } />
23+ < Camera clearColor = '#090707' fov = { 28 } renderSceneColorMap = { true } />
2424 < OrbitControls inertiaFactor = { 0.07 } distanceMin = { 6 } distanceMax = { 10 } pitchAngleMin = { 1 } pitchAngleMax = { 90 } />
2525 < StaticPostEffects />
2626 < AutoRotate />
You can’t perform that action at this time.
0 commit comments