Not sure where to do this. I guess push it as "late" as possible for now in case people want to do things differently.
@@ -390,7 +390,7 @@ function shh.setShader(pass, ...)
}
vec4 lovrmain() {
- return vec4(evaluateSH(sh, normalize(Normal)), 1.);
+ return vec4(evaluateSH(sh, normalize(Normal)) / PI, 1.);
]])
end