
The solution I can think of would require the fog being rendered in two steps, one which darkens the textures and a second one that adds the fog as if the texture shade is ≤ 0.
Speaking mathematically:

This post has been edited by Fox: 30 April 2014 - 05:45 PM
Fox, on 30 April 2014 - 03:37 PM, said:
Helixhorned, on 01 May 2014 - 02:10 AM, said:
Quote
Fox, on 01 May 2014 - 10:40 AM, said:
Helixhorned, on 01 May 2014 - 02:10 AM, said:
Quote
This post has been edited by Fox: 02 May 2014 - 06:21 PM
Fox, on 01 May 2014 - 03:13 PM, said:
Fox, on 02 May 2014 - 08:05 PM, said:
c:/Users/leod/_VCS/eduke32/platform/Windows/lib/32\libSDL2main.a(SDL_windows_main. o): In function `console_main': /Users/slouken/release/SDL/SDL2-2.0.3-source/foo-x86/../src/main/windows/ SDL_windows_main.c:140: undefined reference to `SDL_main' collect2.exe: error: ld returned 1 exit status Failed linking executable eduke32.exe!
C:/Progs/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../. ./../../x86_64-w64-mingw32/lib/../lib/libmingw32.a(lib64_libmingw32_a- crt0_c.o):crt0_c.c:(.text.startup+0x25): undefined reference to `WinMain' collect2.exe: error: ld returned 1 exit status Failed linking executable eduke32.exe!
// Workaround for a bug in mingwrt-4.0.0 and up where a function named main() in misc/src/libcrt/gdtoa/qnan.c takes precedence over the proper one in src/libcrt/crt/main.c. #if (defined __MINGW32__ && __GNUC__ == 4 && __GNUC_MINOR__ >= 8) || (defined __clang__ && __clang_major__ == 3 && __clang_minor__ >= 4) # include "mingw_main.c" #endif
Quote
This post has been edited by Hendricks266: 07 May 2014 - 02:35 PM
Hendricks266, on 07 May 2014 - 02:19 PM, said:
Hendricks266, on 07 May 2014 - 02:19 PM, said:
Hendricks266, on 07 May 2014 - 02:19 PM, said:
Hendricks266, on 07 May 2014 - 04:15 PM, said:
Mickey C, on 15 May 2014 - 12:55 AM, said:
Mickey C, on 17 May 2014 - 05:48 PM, said:
This post has been edited by Mblackwell: 18 May 2014 - 10:02 PM
Reason for edit: spoilered for HUGE
MetHy, on 18 May 2014 - 02:22 PM, said:
Trooper Dan, on 19 May 2014 - 07:06 AM, said:
MetHy, on 19 May 2014 - 08:47 AM, said:
MetHy, on 20 May 2014 - 03:55 AM, said:
Daedolon, on 20 May 2014 - 04:04 AM, said:
MetHy, on 20 May 2014 - 03:55 AM, said: