diff --git a/src/nodes/accessors/Tangent.js b/src/nodes/accessors/Tangent.js index c7781ffc2d808c..2e23c840040104 100644 --- a/src/nodes/accessors/Tangent.js +++ b/src/nodes/accessors/Tangent.js @@ -11,17 +11,7 @@ import { directionToFaceDirection } from '../display/FrontFacingNode.js'; * @tsl * @type {Node} */ -export const tangentGeometry = /*@__PURE__*/ Fn( ( builder ) => { - - if ( builder.geometry.hasAttribute( 'tangent' ) === false ) { - - builder.geometry.computeTangents(); - - } - - return attribute( 'tangent', 'vec4' ); - -} )(); +export const tangentGeometry = /*@__PURE__*/ attribute( 'tangent', 'vec4' ); /** * TSL object that represents the vertex tangent in local space of the current rendered object.