mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Apply AO
This commit is contained in:
parent
2694f5f917
commit
61792d4135
@ -391,7 +391,7 @@ void main() {
|
||||
|
||||
max_light += lights_at(f_pos, f_norm, view_dir, mu, cam_attenuation, fluid_alt, k_a, k_d, k_s, alpha, f_norm, 1.0, emitted_light, reflected_light);
|
||||
|
||||
/* reflected_light *= 0.4 + f_ao * 0.6; */
|
||||
reflected_light *= 0.4 + f_ao * 0.6;
|
||||
|
||||
#ifndef EXPERIMENTAL_NOCAUSTICS
|
||||
#if (FLUID_MODE == FLUID_MODE_SHINY)
|
||||
|
Loading…
Reference in New Issue
Block a user