@types/three
Version:
TypeScript definitions for three
22 lines (19 loc) • 587 B
TypeScript
import Node from "../core/Node.js";
/**
* Tangent vector in view space, computed dynamically from geometry and UV derivatives.
* Useful for normal mapping without precomputed tangents.
*
* Reference: http://www.thetenthplanet.de/archives/1180
*
* @tsl
*/
export const tangentViewFrame: Node;
/**
* Bitangent vector in view space, computed dynamically from geometry and UV derivatives.
* Complements the tangentViewFrame for constructing the tangent space basis.
*
* Reference: http://www.thetenthplanet.de/archives/1180
*
* @tsl
*/
export const bitangentViewFrame: Node;