function lightTargetPosition( light ) {

	const data = getLightData( light );

	return data.targetPosition || ( data.targetPosition = uniform( new Vector3() ).setGroup( renderGroup ).onRenderUpdate( ( _, self ) => self.value.setFromMatrixPosition( light.target.matrixWorld ) ) );

}
TSL function for getting the light target position in world space for the given light.

@tsl
@function
@param {Light} light -The light source.
@returns {UniformNode<vec3>} The light target position in world space.