From f04289268618613cddc8e6c09ac0711481431e3b Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Tue, 23 Nov 2010 11:25:33 +0100 Subject: [PATCH] bugfix to the area light GLSL shader --- src/luminaires/area.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/luminaires/area.cpp b/src/luminaires/area.cpp index 2360d9d1..0517b793 100644 --- a/src/luminaires/area.cpp +++ b/src/luminaires/area.cpp @@ -192,7 +192,7 @@ public: << "vec3 " << evalName << "_dir(vec3 wo) {" << endl << " if (wo.z < 0.0)" << endl << " return vec3(0.0);" << endl - << " return vec3(0.31831);" << endl + << " return vec3(1.0);" << endl << "}" << endl; }