diff --git a/src/components/Avatar/Avatar.component.tsx b/src/components/Avatar/Avatar.component.tsx index 911c5f62..14f2c241 100644 --- a/src/components/Avatar/Avatar.component.tsx +++ b/src/components/Avatar/Avatar.component.tsx @@ -1,6 +1,6 @@ import React, { Suspense, FC, useMemo, CSSProperties, ReactNode, useEffect } from 'react'; import { Vector3 } from 'three'; -import { ContactShadows } from "@react-three/drei"; +import { ContactShadows } from '@react-three/drei'; import { CameraControls } from 'src/components/Scene/CameraControls.component'; import { Environment } from 'src/components/Scene/Environment.component'; import { BaseModelProps, EnvironmentProps, SpawnState, EffectConfiguration, LightingProps } from 'src/types'; @@ -260,7 +260,7 @@ const Avatar: FC = ({ /> {AvatarModel} {children} - {shadows && } + {shadows && } {background?.src && } {capture && } {background?.color && } diff --git a/src/components/Avatar/Examples.stories.tsx b/src/components/Avatar/Examples.stories.tsx index 0859ca3c..1981eb6a 100644 --- a/src/components/Avatar/Examples.stories.tsx +++ b/src/components/Avatar/Examples.stories.tsx @@ -86,7 +86,7 @@ FloatingSparkles.args = { speed: 0.25, opacity: 0.6, color: '#124cca', - position: [0, 3, 0], + position: [0, 3, 0] }; FloatingSparkles.argTypes = { @@ -100,7 +100,7 @@ FloatingSparkles.argTypes = { export const SpawnEffectAndAnimation: StoryFn = (args) => ( - + ); SpawnEffectAndAnimation.args = { diff --git a/src/services/Environment.service.ts b/src/services/Environment.service.ts index 2360d594..3cac86e6 100644 --- a/src/services/Environment.service.ts +++ b/src/services/Environment.service.ts @@ -15,13 +15,13 @@ export const environmentPresets = { export type EnvironmentPresets = keyof typeof environmentPresets; export const getPresetEnvironmentMap = (preset: EnvironmentPresets) => - `https://readyplayerme-assets.s3.amazonaws.com/environment/${preset}.hdr`; + `https://files.readyplayer.me/visage/environment/${preset}.hdr`; export const environmentModels = { - spaceStation: 'https://readyplayerme-assets.s3.amazonaws.com/props/environment-space-station.glb', - platformDark: 'https://readyplayerme-assets.s3.amazonaws.com/props/simple-platform-dark.glb', - platformGreen: 'https://readyplayerme-assets.s3.amazonaws.com/props/simple-platform-green.glb', - platformBlue: 'https://readyplayerme-assets.s3.amazonaws.com/props/simple-platform-blue.glb' + spaceStation: 'https://files.readyplayer.me/visage/props/environment-space-station.glb', + platformDark: 'https://files.readyplayer.me/visage/props/simple-platform-dark.glb', + platformGreen: 'https://files.readyplayer.me/visage/props/simple-platform-green.glb', + platformBlue: 'https://files.readyplayer.me/visage/props/simple-platform-blue.glb' }; export type EnvironmentModels = keyof typeof environmentModels;