Skip to content

Commit

Permalink
Some final lighting adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
lolleko committed Jul 13, 2020
1 parent d374b01 commit b02398c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/world/vs_chunk_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ class VSChunkManager : public IVSDrawable
/*Wood=4*/ 0.F,
/*Sand=5*/ 0.F,
/*Leaf=6*/ 0.F,
/*Lava=7*/ 16.F,
/*Lava=7*/ 12.F,
0.F,
0.F,
0.F,
Expand Down
2 changes: 1 addition & 1 deletion resources/shaders/Chunk.fs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ void main() {
vec3 color = tex * light;

//color = applyFog(color, length(viewPos - i.worldPosition), viewDir, directLightDir);
color = fog(color, vec3(0.5,0.6,0.7), length(viewPos - i.worldPosition), 0.0025);
color = fog(color, vec3(0.5,0.6,0.7), length(viewPos - i.worldPosition), 0.0020);

color = color * colorOverride;

Expand Down

0 comments on commit b02398c

Please sign in to comment.