getSpotAttenuation( builder, angleCosine ) {

		const { coneCosNode, penumbraCosNode } = this;

		return smoothstep( coneCosNode, penumbraCosNode, angleCosine );

	}
Computes the spot attenuation for the given angle.

@param {NodeBuilder} builder - The node builder.
@param {Node<float>} angleCosine - The angle to compute the spot attenuation for.
@return {Node<float>} The spot attenuation.