/dports/games/redeclipse/base-2.0.0/src/engine/ |
H A D | rendergl.cpp | 1788 abovemat = MAT_AIR; in findsurface() 1795 abovemat = MAT_AIR; in getcamfogmat() 1805 else fogmat = abovemat; in getcamfogmat() 1895 int fogmat, abovemat; in calcfogcull() local 1898 getcamfogmat(fogmat, abovemat, below); in calcfogcull() 2137 int fogmat, abovemat; in drawcubemap() local 2139 getcamfogmat(fogmat, abovemat, fogbelow); in drawcubemap() 2140 setfog(abovemat); in drawcubemap() 2317 int fogmat, abovemat; in gl_drawview() local 2319 getcamfogmat(fogmat, abovemat, fogbelow); in gl_drawview() [all …]
|
/dports/games/bloodfrontier/bloodfrontier/src/engine/ |
H A D | rendergl.cpp | 905 static float findsurface(int fogmat, const vec &v, int &abovemat) in findsurface() argument 919 abovemat = MAT_AIR; in findsurface() 1070 void drawfogoverlay(int fogmat, float fogblend, int abovemat) in drawfogoverlay() argument 1079 blendfogoverlay(abovemat, 1-fogblend, overlay); in drawfogoverlay() 1325 else fogmat = abovemat; in drawcubemap() 1333 setfog(fogmat, fogblend, abovemat); in drawcubemap() 1336 float blend = abovemat==MAT_AIR ? fogblend : 1.0f; in drawcubemap() 1603 int fogmat = MAT_AIR, abovemat = MAT_AIR; variable 1702 setfog(fogmat, fogblend, abovemat); in drawview() 1878 else fogmat = abovemat; in gl_drawframe() [all …]
|
/dports/games/redeclipse16/base-1.6.0/src/engine/ |
H A D | rendergl.cpp | 1010 static float findsurface(int fogmat, const vec &v, int &abovemat) in findsurface() argument 1021 abovemat = isliquid(mat) ? c.material : MAT_AIR; in findsurface() 1027 abovemat = MAT_AIR; in findsurface() 1250 void drawfogoverlay(int fogmat, float fogblend, int abovemat) in drawfogoverlay() argument 1258 blendfogoverlay(abovemat, 1-fogblend, overlay); in drawfogoverlay() 1472 else fogmat = abovemat; in drawcubemap() 1480 setfog(fogmat, fogblend, abovemat); in drawcubemap() 1916 int fogmat = MAT_AIR, abovemat = MAT_AIR; variable 2087 setfog(fogmat, fogblend, abovemat); in drawviewtype() 2251 else fogmat = abovemat; in gl_drawframe() [all …]
|
/dports/games/tesseract-data/tesseract/src/engine/ |
H A D | rendergl.cpp | 1887 static float findsurface(int fogmat, const vec &v, int &abovemat) in findsurface() argument 1898 abovemat = isliquid(mat) ? c.material : MAT_AIR; in findsurface() 1904 abovemat = MAT_AIR; in findsurface() 2025 blendfogoverlay(abovemat, 0, 1-fogblend, overlay); in drawfogoverlay() 2225 else fogmat = abovemat; in drawcubemap() 2228 setfog(abovemat); in drawcubemap() 2276 setfog(fogmat, fogbelow, 1, abovemat); in drawcubemap() 2418 else fogmat = abovemat; in gl_drawview() 2421 setfog(abovemat); in gl_drawview() 2470 setfog(fogmat, fogbelow, 1, abovemat); in gl_drawview() [all …]
|
/dports/games/tesseract/tesseract/src/engine/ |
H A D | rendergl.cpp | 1887 static float findsurface(int fogmat, const vec &v, int &abovemat) in findsurface() argument 1898 abovemat = isliquid(mat) ? c.material : MAT_AIR; in findsurface() 1904 abovemat = MAT_AIR; in findsurface() 2025 blendfogoverlay(abovemat, 0, 1-fogblend, overlay); in drawfogoverlay() 2225 else fogmat = abovemat; in drawcubemap() 2228 setfog(abovemat); in drawcubemap() 2276 setfog(fogmat, fogbelow, 1, abovemat); in drawcubemap() 2418 else fogmat = abovemat; in gl_drawview() 2421 setfog(abovemat); in gl_drawview() 2470 setfog(fogmat, fogbelow, 1, abovemat); in gl_drawview() [all …]
|
/dports/games/sauerbraten/sauerbraten/src/engine/ |
H A D | rendergl.cpp | 1140 static float findsurface(int fogmat, const vec &v, int &abovemat) in findsurface() argument 1151 abovemat = isliquid(mat) ? c.material : MAT_AIR; in findsurface() 1157 abovemat = MAT_AIR; in findsurface() 1261 static void setfog(int fogmat, float below = 1, int abovemat = MAT_AIR) in setfog() argument 1309 void drawfogoverlay(int fogmat, float fogblend, int abovemat) in drawfogoverlay() argument 1317 blendfogoverlay(abovemat, 1-fogblend, overlay); in drawfogoverlay() 1878 float z = findsurface(fogmat, camera1->o, abovemat) - WATER_OFFSET; in gl_drawframe() 1880 else fogmat = abovemat; in gl_drawframe() 1885 setfog(fogmat, fogblend, abovemat); in gl_drawframe() 1888 float blend = abovemat==MAT_AIR ? fogblend : 1.0f; in gl_drawframe() [all …]
|