1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-04-23 04:27:45 +00:00

Renderer: Add a slight ambient to not make shadows pitch black

This commit is contained in:
Joshua Goins 2024-04-20 15:38:49 -04:00
parent 26c7fad3a0
commit 02ce1c2f51
2 changed files with 1 additions and 1 deletions

View file

@ -41,5 +41,5 @@ void main() {
float diff = max(dot(norm, lightDir), 0.0);
outColor = vec4(diffuse * diff, 1.0);
outColor = vec4(diffuse * (diff + 0.1), 1.0);
}

Binary file not shown.