UNPKG

@threepipe/webgi-plugins

Version:

WebGi - Realistic Rendering Plugins for ThreePipe.

35 lines 1.36 kB
import { AViewerPluginSync, GBufferPlugin, MaterialExtension, ThreeViewer } from 'threepipe'; /** * SS Contact Shadows Plugin * Adds a material extension to PhysicalMaterial screen space ray traced contact shadows. * It also adds a UI to the material to edit the settings. * todo - remove It uses WEBGI_materials_clearcoat_tint glTF extension to save the settings in glTF files. * @category Plugins */ export declare class SSContactShadowsPlugin extends AViewerPluginSync { static readonly PluginType = "SSContactShadows"; static readonly OldPluginType = "SSContactShadowsPlugin"; enabled: boolean; private _uniforms; radius: number; intensity: number; tolerance: number; private _defines; onlySSCSDebug: boolean; stepCount: number; dependencies: (typeof GBufferPlugin)[]; readonly materialExtension: MaterialExtension; setDirty(): void; constructor(enabled?: boolean); onAdded(v: ThreeViewer): void; onRemove(v: ThreeViewer): void; private _gbufferUnpackExtension; private _gbufferUnpackExtensionChanged; setGBufferUnpackExtension(extension: MaterialExtension | undefined): void; } /** * SSContactShadows Materials Extension * * Specification: https://webgi.xyz/docs/gltf-extensions/WEBGI_materials_clearcoat_tint.html */ //# sourceMappingURL=SSContactShadowsPlugin.d.ts.map