1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-19 03:34:49 +00:00

fixed GF_NO_FOG

This commit is contained in:
Zeno Rogue 2022-10-14 00:55:34 +02:00
parent e6d0ff8789
commit 7a6df6f060

View File

@ -403,7 +403,7 @@ shared_ptr<glhr::GLprogram> write_shader(flagtype shader_flags) {
vmain += "mediump vec4 t = uMV * aPosition;\n";
vmain += coordinator;
if(shader_flags & GF_NO_FOG) {
vmain += "// no fog used";
vmain += "// no fog used\n";
}
else if(GDIM == 3 && WDIM == 2 && hyperbolic && context_fog && pmodel == mdPerspective) {
vsh +=