# @vis-three/plugin-effect-composer

> 后期处理插件。使用后可以增加后期处理过程连对画面进行后期处理。

Latest version **0.7.1** (published 2024-10-24) · MPL-2.0 license · 0 weekly downloads

## Install

```sh
npm install @vis-three/plugin-effect-composer
pnpm add @vis-three/plugin-effect-composer
yarn add @vis-three/plugin-effect-composer
bun add @vis-three/plugin-effect-composer
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.7.1 |
| Published | 2024-10-24 |
| First published | 2023-03-28 |
| Weekly downloads | 0 |
| License | MPL-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 21.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Shiotsuki_ |
| Maintainers | shiotsuki_ |

## Links

- npm: https://www.npmjs.com/package/@vis-three/plugin-effect-composer
- npm.io page: https://npm.io/package/@vis-three/plugin-effect-composer

## Dependencies (3)

- [@vis-three/core](https://npm.io/package/@vis-three/core.md) ^0.7.0
- [@vis-three/utils](https://npm.io/package/@vis-three/utils.md) ^0.7.0
- [@vis-three/plugin-webgl-renderer](https://npm.io/package/@vis-three/plugin-webgl-renderer.md) ^0.7.0

## Recent versions

- 0.7.1 (latest) — 2024-10-24
- 0.7.0 — 2024-09-11
- 0.6.3 — 2024-08-21
- 0.6.2 — 2023-11-15
- 0.6.1 — 2023-05-06
- 0.6.0 — 2023-03-28

## README

# @vis-three/plugin-effect-composer

后期处理插件。使用后可以增加后期处理过程连对画面进行后期处理。

## 最新版本

<img alt="version" src="https://img.shields.io/npm/v/@vis-three/plugin-effect-composer">

## license

<img alt="NPM" src="https://img.shields.io/npm/l/@vis-three/plugin-effect-composer?color=blue">

## 插件名称

`EffectComposerPlugin`

:::tip
可以使用枚举：`EFFECT_COMPOSER_PLUGIN`
:::

## 插件依赖

- WebGLRendererPlugin: @vis-three/plugin-webgl-renderer

## 插件传参

```ts
export interface EffectComposerParameters {
  /**如果three版本低于137需要支持MSAA请开启 */
  WebGLMultisampleRenderTarget?: boolean;
  /**采样数 */
  samples?: number;
  /**渲染格式 */
  format?: number;
  /**是否开启msaa */
  MSAA?: boolean;
}
```

## 引擎拓展

```ts
export interface EffectComposerEngine extends WebGLRendererEngine {
  effectComposer: EffectComposer;
}
```

### effectComposer

参照： [https://threejs.org/docs/index.html?q=eff#examples/zh/postprocessing/EffectComposer](https://threejs.org/docs/index.html?q=eff#examples/zh/postprocessing/EffectComposer)

---
_Source: https://npm.io/package/@vis-three/plugin-effect-composer · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
