UNPKG

threepipe

Version:

A 3D viewer framework built on top of three.js in TypeScript with a focus on quality rendering, modularity and extensibility.

22 lines 919 B
import { AViewerPluginSync, ThreeViewer } from '../../viewer'; /** * Parallax Mapping Plugin * Adds a material extension to PhysicalMaterial which parallax mapping to bump map in the material. * This is a port of Relief Parallax Mapping from [Rabbid76/graphics-snippets](https://github.com/Rabbid76/graphics-snippets/blob/master/html/technique/parallax_005_parallax_relief_mapping_derivative_tbn.html) * @category Plugins */ export declare class ParallaxMappingPlugin extends AViewerPluginSync<''> { static PluginType: string; enabled: boolean; stepCount: number; binaryStepCount: number; debugNormals: boolean; debugHitHeight: boolean; private _defines; constructor(enabled?: boolean); private _updateExtension; private _bumpMapExtension; onAdded(viewer: ThreeViewer): void; onRemove(viewer: ThreeViewer): void; } //# sourceMappingURL=ParallaxMappingPlugin.d.ts.map