UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

19 lines (18 loc) 702 B
import { ShaderMaterial, WebGLRenderTarget, Texture } from 'three'; export declare const UV_LIGHT_MAP_FLIPPED_ATTRIB_NAME = "uvLightmapFlipped"; export interface RenderTargetsCombineMaterial extends ShaderMaterial { uniforms: { rt1: { value: Texture | null; }; rt2: { value: Texture | null; }; }; } export interface RenderTargetsCombineMatOptions { rt1: WebGLRenderTarget; rt2: WebGLRenderTarget; } export declare function setRenderTargetsCombineMaterial(mat: RenderTargetsCombineMaterial, options: RenderTargetsCombineMatOptions): void; export declare function createRenderTargetsCombineMaterial(): RenderTargetsCombineMaterial;