Skip to content

Commit

Permalink
[game.v.glsl] Tweaked AO values.
Browse files Browse the repository at this point in the history
  • Loading branch information
Unarelith committed Jun 6, 2021
1 parent b7c9658 commit 7d3d231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/shaders/game.v.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ void main() {
v_lightValue = lightValue;

if (ambientOcclusion != 5) {
const float aovalues[] = float[](0.2, 0.45, 0.75, 1.0);
const float aovalues[] = float[](0.4, 0.6, 0.8, 1.0);
v_ambientOcclusion = aovalues[int(ambientOcclusion)];
} else {
v_ambientOcclusion = 1.0;
Expand Down

0 comments on commit 7d3d231

Please sign in to comment.