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

export class NormalMapNode extends TempNode {

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

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

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

	static Nodes: {
		perturbNormal2Arb: FunctionNode;
	}

}