Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ From each `fxHooks`, you can receive [`updateFx`, `setParams`, `fxObject`] in ar
1. `updateFx` - Functions to update parameters and render.
2. `updateParams` - Function to update parameters only.
3. `fxObject` - An object that holds various FX components, such as scene, camera, mesh, renderTarget, and `output`(final rendered texture).
4. `HooksProps` - `size`,`dpr`,`samples`,`isSizeUpdate`,`onBeforeInit` but may also be hook specific. ※ `isSizeUpdate` : Whether to `setSize` the FBO when updating size or dpr(default : `false`).
4. `HooksProps` - `size`,`dpr`,`isSizeUpdate`,`onBeforeInit` and `renderTargetOptions` ※ `isSizeUpdate` : Whether to `setSize` the FBO when updating size or dpr(default : `false`).

```js
const [updateFx, updateParams, fxObject] = useSomeFx(HooksProps);
Expand Down Expand Up @@ -180,7 +180,6 @@ export const Home = () => {
camera,
size,
dpr: viewport.dpr,
samples: 4,
});

useFrame((rootState) => {
Expand Down
35 changes: 0 additions & 35 deletions app/stickers/Background.tsx

This file was deleted.

108 changes: 0 additions & 108 deletions app/stickers/CanvasState.ts

This file was deleted.

132 changes: 0 additions & 132 deletions app/stickers/Playground.tsx

This file was deleted.

Loading