Browse Source

Fix the irradiance calculation

Panagiotis Christopoulos Charitos 8 years ago
parent
commit
add7f9c895
1 changed files with 1 additions and 1 deletions
  1. 1 1
      shaders/Irradiance.frag.glsl

+ 1 - 1
shaders/Irradiance.frag.glsl

@@ -55,5 +55,5 @@ void main()
 		}
 	}
 
-	out_color = outCol / weight;
+	out_color = outCol / weight * (2.0 * PI);
 }