mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Re-saturate.
This commit is contained in:
parent
48a643955d
commit
14effdd5db
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user