float3 RGB2XYZ( float3 _RGB ) {
return new float3( _RGB.Dot( new float3( 0.4124f, 0.3576f, 0.1805f ) ),
_RGB.Dot( new float3( 0.2126f, 0.7152f, 0.0722f ) ), // <= Y component is the LUMINANCE defined above
_RGB.Dot( new float3( 0.0193f, 0.1192f, 0.9505f ) ) );
}