bugfix to the area light GLSL shader
parent
fae462dcc2
commit
f042892686
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue