 				return normalize(normal);
 			}
 
-			// Reference:
-			// RGB/XYZ Matrices
-			// http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html
 			vec3 convertRGB2XYZ(vec3 _rgb)
 			{
+				// Reference:
+				// RGB/XYZ Matrices
+				// http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html
 				vec3 xyz;
 				xyz.x = dot(vec3(0.4124564, 0.3575761, 0.1804375), _rgb);
 				xyz.y = dot(vec3(0.2126729, 0.7151522, 0.0721750), _rgb);

				return vec4(toFilmic(_rgba.xyz), _rgba.w);
			}

			vec3 luma(vec3 _rgb)
			{
				float yy = dot(vec3(0.2126729, 0.7151522, 0.0721750), _rgb);

	common = {
		code = "
			/*
			 * Copyright 2011-2016 Branimir Karadzic. All rights reserved.
			 * License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
			 */

			#if !defined(BGFX_CONFIG_MAX_BONES)
