Newer
Older
HuangJiPC / public / static / three / examples / jsm / nodes / misc / BumpMapNode.d.ts
@zhangdeliang zhangdeliang on 21 Jun 646 bytes update
import { TempNode } from '../core/TempNode';
import { NodeBuilder } from '../core/NodeBuilder';
import { FloatNode } from '../inputs/FloatNode';
import { FunctionNode } from '../core/FunctionNode';
import { TextureNode } from '../inputs/TextureNode';

export class BumpMapNode extends TempNode {

	constructor( value: TextureNode, scale?: FloatNode );

	value: TextureNode;
	scale: FloatNode;
	toNormalMap: boolean;
	nodeType: string;

	generate( builder: NodeBuilder, output: string ): string;
	copy( source: BumpMapNode ): this;

	static Nodes: {
		dHdxy_fwd: FunctionNode;
		perturbNormalArb: FunctionNode;
		bumpToNormal: FunctionNode;
	}

}