Re-saturate.

This commit is contained in:
Joshua Yanovski 2020-04-25 22:24:35 +02:00
parent 48a643955d
commit 14effdd5db

View File

@ -420,7 +420,7 @@ vec3 illuminate(/*vec3 max_light, */vec3 emitted, vec3 reflected) {
// vec3 c = pow(col_adjusted, vec3(s)) * T; // vec3 c = pow(col_adjusted, vec3(s)) * T;
// vec3 c = col_adjusted * T; // vec3 c = col_adjusted * T;
// vec3 c = sqrt(col_adjusted) * T; // vec3 c = sqrt(col_adjusted) * T;
vec3 c = /*col_adjusted * */col_adjusted * T; vec3 c = col_adjusted * col_adjusted * T;
return c; return c;
// float sum_col = color.r + color.g + color.b; // float sum_col = color.r + color.g + color.b;