You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 1, 2026. It is now read-only.
***deps:** update @tresjs/core and @types/three to latest versions ([#619](https://github.com/Tresjs/cientos/issues/619)) ([9a94785](https://github.com/Tresjs/cientos/commit/9a94785f8242b10df3a1c579e54f04814716552a))
Copy file name to clipboardExpand all lines: docs/guide/staging/environment.md
+62-22Lines changed: 62 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
<EnvironmentDemo />
5
5
</DocsDemo>
6
6
7
-
Is a component abstraction that automatically sets up a global cubemap, which affects the default `scene.environment`, and optionally `scene.background`,
7
+
Is a component abstraction that automatically sets up a global cubemap, which affects the default `scene.environment`, and optionally `scene.background`.
8
8
9
9
It uses the composable [useEnvironment](/guide/staging/use-environment) under the hood to load the cubemap.
10
10
@@ -20,7 +20,7 @@ It uses the composable [useEnvironment](/guide/staging/use-environment) under th
20
20
'/ny.jpg',
21
21
'/pz.jpg',
22
22
'/nz.jpg'
23
-
]"
23
+
]"
24
24
/>
25
25
</Suspense>
26
26
```
@@ -37,7 +37,7 @@ You can also pass the `.hdr` file directly:
37
37
38
38
## Texture reference
39
39
40
-
You can access the model reference by pasing a `ref` to the `<Environment />` prop and then using the method `getTexture()` to get the object.
40
+
You can access the model reference by passing a `ref` to the `<Environment />` prop and then using the method `getTexture()` to get the object.
0 commit comments