Home
last modified time | relevance | path

Searched refs:fogplane (Results 1 – 17 of 17) sorted by relevance

/dports/games/bloodfrontier/bloodfrontier/src/engine/
H A Danimmodel.h678 fogplane.rotate(c, s, d); in calcpitchaxis()
687 render(anim, basetime, basetime2, pitch, axis, d, dir, campos, fogplane, as); in render()
714 plane rfogplane(fogplane); in render()
868 parts[0]->render(anim, basetime, basetime2, pitch, axis, d, dir, campos, fogplane, as); in render()
887 p->render(anim, basetime, basetime2, pitch, axis, d, dir, campos, fogplane); in render()
903 plane fogplane; in render() local
927 render(anim, basetime, basetime2, pitch, vec(0, -1, 0), d, a, rdir, campos, fogplane); in render()
943 fogplane = plane(0, 0, 1, -reflectz); in render()
948 fogplane.offset += o.z; in render()
957 fogplane.offset += d->ragdoll->center.z; in render()
[all …]
H A Drenderva.cpp908 float fogplane; member
922 …ask(true), blending(false), mtglow(false), skippedglow(false), vbuf(0), fogplane(-1), diffusetmu(0… in renderstate()
1095 float fogplane = reflectz - vaorigin.z; in changefogplane() local
1096 if(cur.fogplane!=fogplane) in changefogplane()
1098 cur.fogplane = fogplane; in changefogplane()
1099 …if(fogging) setfogplane(1.0f/(1<<VVEC_FRAC), fogplane, false, -0.25f/(1<<VVEC_FRAC), 0.5f + 0.25f* in changefogplane()
1100 else setfogplane(0, 0, false, 0.25f/(1<<VVEC_FRAC), 0.5f - 0.25f*fogplane); in changefogplane()
H A Drendergl.cpp886 float fogselect[4] = {1, fadescale, fadeoffset, 0}, fogplane[4] = {0, 0, 0, 0}; in setfogplane() local
890 fogplane[2] = scale; in setfogplane()
891 fogplane[3] = -z; in setfogplane()
896 flushenvparamfv("fogplane", SHPARAM_VERTEX, 9, fogplane); in setfogplane()
901 setenvparamfv("fogplane", SHPARAM_VERTEX, 9, fogplane); in setfogplane()
/dports/games/cake/cake_src/cake/
H A Drender.cpp925 *f++ = surf->fogplane; in PushTriangles()
1707 cplane_t* fogplane = NULL; in SetTextureCoordinates() local
1728 if (*f) fogplane = *f; in SetTextureCoordinates()
1730 if (!fogplane) continue; in SetTextureCoordinates()
1782 cplane_t fogplane; in SetTextureCoordinates() local
1788 fogplane.normal[0] = 0; in SetTextureCoordinates()
1789 fogplane.normal[1] = 0; in SetTextureCoordinates()
1790 fogplane.normal[2] = 1; in SetTextureCoordinates()
1791 fogplane.dist = 0; in SetTextureCoordinates()
1792 fogplane.type = 3; in SetTextureCoordinates()
[all …]
H A Dsurface.cpp28 fogplane = NULL; in Surface()
H A Dtypes.h819 cplane_t * fogplane; /**< fog plane */ variable
H A Dq3bsp.cpp349 surf->fogplane = r_planes + r_effects[surf->effect].planeidx; in Init()
353 surf->fogplane = NULL; in Init()
361 surf->fogplane = NULL; in Init()
/dports/games/redeclipse16/base-1.6.0/src/engine/
H A Drendergl.cpp673 vec fogplane(cammatrix.c); in setcamprojmatrix() local
674 fogplane.x /= projmatrix.a.x; in setcamprojmatrix()
675 fogplane.y /= projmatrix.b.y; in setcamprojmatrix()
676 fogplane.z /= projmatrix.c.w; in setcamprojmatrix()
677 GLOBALPARAMF(fogplane, fogplane.x, fogplane.y, 0, fogplane.z); in setcamprojmatrix()
682 GLOBALPARAMF(fogplane, 0, 0, lineardepthscale.x, lineardepthscale.y); in setcamprojmatrix()
/dports/games/sauerbraten/sauerbraten/src/engine/
H A Drendergl.cpp671 vec fogplane(cammatrix.c); in setcamprojmatrix() local
672 fogplane.x /= projmatrix.a.x; in setcamprojmatrix()
673 fogplane.y /= projmatrix.b.y; in setcamprojmatrix()
674 fogplane.z /= projmatrix.c.w; in setcamprojmatrix()
675 GLOBALPARAMF(fogplane, fogplane.x, fogplane.y, 0, fogplane.z); in setcamprojmatrix()
680 GLOBALPARAMF(fogplane, 0, 0, lineardepthscale.x, lineardepthscale.y); in setcamprojmatrix()
/dports/games/xonotic/Xonotic/source/darkplaces/
H A Dgl_rmain.c2622 …ter4f(D3DVSREGISTER_FogPlane, rsurface.fogplane[0], rsurface.fogplane[1], rsurface.fogplane[2], rs… in R_SetupShader_Surface()
2689 …ter4f(D3DPSREGISTER_FogPlane, rsurface.fogplane[0], rsurface.fogplane[1], rsurface.fogplane[2], rs… in R_SetupShader_Surface()
2859 …sl_permutation->loc_FogPlane, rsurface.fogplane[0], rsurface.fogplane[1], rsurface.fogplane[2], rs… in R_SetupShader_Surface()
3005 …(DPSOFTRAST_UNIFORM_FogPlane, rsurface.fogplane[0], rsurface.fogplane[1], rsurface.fogplane[2], rs… in R_SetupShader_Surface()
7042 Vector4Set(r_refdef.fogplane, 0, 0, 1, -r_refdef.fog_height); in R_UpdateFog()
7043 …r_refdef.fogplaneviewdist = DotProduct(r_refdef.fogplane, r_refdef.view.origin) + r_refdef.fogplan… in R_UpdateFog()
8487 Vector4Copy(r_refdef.fogplane, rsurface.fogplane); in RSurf_ActiveWorldEntity()
8616 …ace.inversematrix, r_refdef.fogplane[0], r_refdef.fogplane[1], r_refdef.fogplane[2], r_refdef.fogp… in RSurf_ActiveModelEntity()
8866 …ace.inversematrix, r_refdef.fogplane[0], r_refdef.fogplane[1], r_refdef.fogplane[2], r_refdef.fogp… in RSurf_ActiveCustomEntity()
9014 float FogPlaneVertexDist = DotProduct(r_refdef.fogplane, v) + r_refdef.fogplane[3]; in RSurf_FogPoint()
[all …]
H A Drender.h431 float fogplane[4]; member
H A Dclient.h1917 float fogplane[4]; member
/dports/games/darkplaces/darkplaces/
H A Dgl_rmain.c2526 …ter4f(D3DVSREGISTER_FogPlane, rsurface.fogplane[0], rsurface.fogplane[1], rsurface.fogplane[2], rs… in R_SetupShader_Surface()
2599 …ter4f(D3DPSREGISTER_FogPlane, rsurface.fogplane[0], rsurface.fogplane[1], rsurface.fogplane[2], rs… in R_SetupShader_Surface()
2777 …sl_permutation->loc_FogPlane, rsurface.fogplane[0], rsurface.fogplane[1], rsurface.fogplane[2], rs… in R_SetupShader_Surface()
2929 …(DPSOFTRAST_UNIFORM_FogPlane, rsurface.fogplane[0], rsurface.fogplane[1], rsurface.fogplane[2], rs… in R_SetupShader_Surface()
6945 Vector4Set(r_refdef.fogplane, 0, 0, 1, -r_refdef.fog_height); in R_UpdateFog()
6946 …r_refdef.fogplaneviewdist = DotProduct(r_refdef.fogplane, r_refdef.view.origin) + r_refdef.fogplan… in R_UpdateFog()
8504 …ace.inversematrix, r_refdef.fogplane[0], r_refdef.fogplane[1], r_refdef.fogplane[2], r_refdef.fogp… in RSurf_ActiveModelEntity()
8746 …ace.inversematrix, r_refdef.fogplane[0], r_refdef.fogplane[1], r_refdef.fogplane[2], r_refdef.fogp… in RSurf_ActiveCustomEntity()
8887 float FogPlaneVertexDist = DotProduct(r_refdef.fogplane, v) + r_refdef.fogplane[3]; in RSurf_FogPoint()
8903 float FogPlaneVertexDist = DotProduct(rsurface.fogplane, v) + rsurface.fogplane[3]; in RSurf_FogVertex()
H A Drender.h424 float fogplane[4]; member
H A Dclient.h1954 float fogplane[4]; member
/dports/games/bloodfrontier/bloodfrontier/data/
H A Dstdshader.cfg34 TEMP fogplane;
35 MAD fogplane, state.matrix.modelview.row[2], program.env[8].x, program.env[9];
36 DP4 result.fogcoord, -opos, fogplane;
2835 uniform vec4 texgenS, texgenT, camera, orienttangent, orientbinormal, fogselect, fogplane;
2842 …l_ModelViewMatrix[1].z, gl_ModelViewMatrix[2].z, gl_ModelViewMatrix[3].z) * fogselect.x + fogplane;
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/src/hardware/
H A Dhw_main.c68 … lightlevel, INT32 alpha, sector_t *FOFSector, FBITFIELD blend, boolean fogplane, extracolormap_t …
4546 boolean fogplane; member
4588 … lightlevel, INT32 alpha, sector_t *FOFSector, FBITFIELD blend, boolean fogplane, extracolormap_t … in HWR_AddTransparentFloor() argument
4610 planeinfo[numplanes].fogplane = fogplane; in HWR_AddTransparentFloor()