github-actions
released this
16 Sep 16:03
·
406 commits
to main
since this release
Minor Changes
-
2a56a89: Render Composer was completely rewritten from scratch. It now comes with its own JSX configuration layer for the
postprocessing
library, with<RenderPipeline>
using that to construct its render passes. Because it's now much easier to declaratively add post-processing effects,<RenderPipeline>
no longer sets them up by default. Instead, you can now add them as you see fit:import * as RC from "render-composer" function App() { return ( <RC.Canvas> <RC.RenderPipeline> <RC.EffectPass> <RC.SMAAEffect /> <RC.SelectiveBloomEffect intensity={5} /> <RC.VignetteEffect /> </RC.EffectPass> {/* ...normal R3F stuff here. */} </RC.RenderPipeline> </RC.Canvas> ) }
-
2a56a89: The
<RenderCanvas>
component now has been renamed to just<Canvas>
. -
2a56a89: The buffer containing the first render pass' color information is now returned by
useRenderPipeline
ascolor
, notscene
.
Patch Changes
- Updated dependencies [2a56a89]
- @hmans/[email protected]