Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4e891c5

Browse files
author
takuma-hmng8
committed
fix:
1 parent acdeb7f commit 4e891c5

File tree

93 files changed

+23
-8681
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+23
-8681
lines changed

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ From each `fxHooks`, you can receive [`updateFx`, `setParams`, `fxObject`] in ar
8383

8484
1. `updateFx` - A function to be invoked inside `useFrame`, returning a `THREE.Texture`.
8585
2. `setParams` - A function to refresh the parameters, beneficial for performance tweaking, etc.
86-
3. `fxObject` - An object that holds various FX components, such as scene, camera, material,renderTarget, and `output`(final rendered texture).
86+
3. `fxObject` - An object that holds various FX components, such as scene, camera, mesh, renderTarget, and `output`(final rendered texture).
8787
4. `HooksProps` - `size`,`dpr`,`samples`,`isSizeUpdate`,`uniforms`,`onBeforeCompile`but may also be hook specific. (注記) `isSizeUpdate` : Whether to `setSize` the FBO when updating size or dpr(default : `false`).
8888

8989
```js

‎app/useBlank/Playground.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { useVideoTexture } from "@react-three/drei";
1010
extend({ FxMaterial });
1111

1212
export const Playground = () => {
13-
const { size, viewport } = useThree();
13+
const { size, viewport, gl } = useThree();
1414
const funkun_mov = useVideoTexture("/FT_Ch02-comp.mp4", {
1515
width: 1280,
1616
height: 720,

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /