Skip to content

PostProcessing

基于 Three.js WebGPU 节点后处理管线。

用法

ts
import { PostProcessing } from '@threeuse/core/plugins'

app.use(PostProcessing, { bloom: true, fxaa: true })
app.$postProcessing.enable('bloom')

选项

选项类型默认值说明
bloombooleanfalse开启辉光效果
fxaabooleanfalse开启 FXAA 抗锯齿

Released under the MIT License.