valoeghese / 2fc0f18

Not-So-Bad-Anymore block game with more of an RPG vibe. Inspired by Minecraft and Cube World
Other
2 stars 0 forks source link

Render Fog #34

Open valoeghese opened 3 years ago

valoeghese commented 3 years ago

Shader needs render fog to hide my horrible-looking lazy chunkunloading (lazy referring to the technique, not the code. The whole project is full of cursed code no need to emphasise just one bit)

valoeghese commented 3 years ago

https://www.mbsoftworks.sk/tutorials/opengl3/12-fog-outside/, https://stackoverflow.com/questions/25274783/opengl-3-3-glsl-fragment-shader-fog-effect-not-working

valoeghese commented 2 years ago

Also maybe make the chunkload distance settings more spaced out. Short = 7(render-6) Normal = 9(render-8) Far = 11(render-10) Huge = 13(render-12)