UNPKG

threepipe

Version:

A modern 3D viewer framework built on top of three.js, written in TypeScript, designed to make creating high-quality, modular, and extensible 3D experiences on the web simple and enjoyable.

22 lines 942 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=../../src/plugins/material/ParallaxMappingPlugin.d.ts.map