Disable BayerMatrix momentaraily
This commit is contained in:
		@ -55,7 +55,8 @@ mat3 makeTangentBasis(vec3 normal) {
 | 
			
		||||
    return mat3(tangent, bitangent, normal);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
const float BayerMatrix8[8][8] =
 | 
			
		||||
// TO DO - Disabled momentarily instead of changing formulas
 | 
			
		||||
const float off_BayerMatrix8[8][8] =
 | 
			
		||||
{
 | 
			
		||||
	{ 1.0 / 65.0, 49.0 / 65.0, 13.0 / 65.0, 61.0 / 65.0, 4.0 / 65.0, 52.0 / 65.0, 16.0 / 65.0, 64.0 / 65.0 },
 | 
			
		||||
	{ 33.0 / 65.0, 17.0 / 65.0, 45.0 / 65.0, 29.0 / 65.0, 36.0 / 65.0, 20.0 / 65.0, 48.0 / 65.0, 32.0 / 65.0 },
 | 
			
		||||
@ -66,3 +67,15 @@ const float BayerMatrix8[8][8] =
 | 
			
		||||
	{ 11.0 / 65.0, 59.0 / 65.0, 7.0 / 65.0, 55.0 / 65.0, 10.0 / 65.0, 58.0 / 65.0, 6.0 / 65.0, 54.0 / 65.0 },
 | 
			
		||||
	{ 43.0 / 65.0, 27.0 / 65.0, 39.0 / 65.0, 23.0 / 65.0, 42.0 / 65.0, 26.0 / 65.0, 38.0 / 65.0, 22.0 / 65.0 }
 | 
			
		||||
};
 | 
			
		||||
const float BayerMatrix8[8][8] =
 | 
			
		||||
{
 | 
			
		||||
	{ 1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0 },
 | 
			
		||||
	{ 1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0 },
 | 
			
		||||
	{ 1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0 },
 | 
			
		||||
	{ 1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0 },
 | 
			
		||||
	{ 1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0 },
 | 
			
		||||
	{ 1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0 },
 | 
			
		||||
	{ 1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0 },
 | 
			
		||||
	{ 1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0 }
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user