UNPKG

@types/three

Version:
12 lines (9 loc) 542 B
import Node from "../../core/Node.js"; import OperatorNode from "../../math/OperatorNode.js"; import { ShaderNodeObject } from "../../tsl/TSLCore.js"; // Analytical approximation of the DFG LUT, one half of the // split-sum approximation used in indirect specular lighting. // via 'environmentBRDF' from "Physically Based Shading on Mobile" // https://www.unrealengine.com/blog/physically-based-shading-on-mobile declare const DFGApprox: (args: { roughness: Node; dotNV: Node }) => ShaderNodeObject<OperatorNode>; export default DFGApprox;