bugfix to the area light GLSL shader

metadata
Wenzel Jakob 2010-11-23 11:25:33 +01:00
parent fae462dcc2
commit f042892686
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ public:
<< "vec3 " << evalName << "_dir(vec3 wo) {" << endl << "vec3 " << evalName << "_dir(vec3 wo) {" << endl
<< " if (wo.z < 0.0)" << endl << " if (wo.z < 0.0)" << endl
<< " return vec3(0.0);" << endl << " return vec3(0.0);" << endl
<< " return vec3(0.31831);" << endl << " return vec3(1.0);" << endl
<< "}" << endl; << "}" << endl;
} }