@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.
14 lines (13 loc) • 712 B
TypeScript
import type { ToneMappingMode } from "postprocessing";
import { ToneMapping } from "three";
export declare enum NEToneMappingMode {
None = 0,
Neutral = 1,// Neutral tonemapper, close to Reinhard
ACES = 2,// ACES Filmic reference tonemapper (custom approximation)
AgX = 3,// AgX Filmic tonemapper
KhronosNeutral = 4
}
export type NEToneMappingModeNames = keyof typeof NEToneMappingMode;
export declare function toThreeToneMapping(mode: NEToneMappingMode | undefined): 1 | 4 | 2 | 6 | 7;
export declare function threeToNeedleToneMapping(mode: ToneMapping | number | undefined): NEToneMappingMode;
export declare function threeToneMappingToEffectMode(mode: number | undefined): ToneMappingMode;