UNPKG

@needle-tools/engine

Version:

Needle Engine is a web-based runtime for 3D apps. It runs on your machine for development with great integrations into editors like Unity or Blender - and can be deployed onto any device! It is flexible, extensible and networking and XR are built-in.

16 lines (15 loc) 808 B
import { type EffectProviderResult, PostProcessingEffect } from "../PostProcessingEffect.js"; import { VolumeParameter } from "../VolumeParameter.js"; /** * [ChromaticAberration](https://engine.needle.tools/docs/api/ChromaticAberration) simulates the color fringing effect seen in real-world cameras. * It offsets the red, green, and blue color channels to create a distorted, colorful edge around objects. * This effect can enhance the visual appeal of scenes by adding a subtle or pronounced chromatic distortion. * @summary Chromatic Aberration Post-Processing Effect * @category Effects * @group Components */ export declare class ChromaticAberration extends PostProcessingEffect { get typeName(): string; readonly intensity: VolumeParameter; onCreateEffect(): EffectProviderResult; }