doom3-gpl
Doom 3 GPL source release
|
Go to the source code of this file.
Classes | |
struct | wglString_t |
Variables | |
idCVar | r_sb_lightResolution ("r_sb_lightResolution","1024", CVAR_RENDERER|CVAR_INTEGER,"Pixel dimensions for each shadow buffer, 64 - 2048") |
idCVar | r_sb_viewResolution ("r_sb_viewResolution","1024", CVAR_RENDERER|CVAR_INTEGER,"Width of screen space shadow sampling") |
idCVar | r_sb_noShadows ("r_sb_noShadows","0", CVAR_RENDERER|CVAR_BOOL,"don't draw any occluders") |
idCVar | r_sb_usePbuffer ("r_sb_usePbuffer","1", CVAR_RENDERER|CVAR_BOOL,"draw offscreen") |
idCVar | r_sb_jitterScale ("r_sb_jitterScale","0.006", CVAR_RENDERER|CVAR_FLOAT,"scale factor for jitter offset") |
idCVar | r_sb_biasScale ("r_sb_biasScale","0.0001", CVAR_RENDERER|CVAR_FLOAT,"scale factor for jitter bias") |
idCVar | r_sb_samples ("r_sb_samples","4", CVAR_RENDERER|CVAR_INTEGER,"0, 1, 4, or 16") |
idCVar | r_sb_randomize ("r_sb_randomize","1", CVAR_RENDERER|CVAR_BOOL,"randomly offset jitter texture each draw") |
idCVar | r_sb_polyOfsFactor ("r_sb_polyOfsFactor","2", CVAR_RENDERER|CVAR_FLOAT,"polygonOffset factor for drawing shadow buffer") |
idCVar | r_sb_polyOfsUnits ("r_sb_polyOfsUnits","3000", CVAR_RENDERER|CVAR_FLOAT,"polygonOffset units for drawing shadow buffer") |
idCVar | r_sb_occluderFacing ("r_sb_occluderFacing","0", CVAR_RENDERER|CVAR_INTEGER,"0 = front faces, 1 = back faces, 2 = midway between") |
idCVar | r_sb_frustomFOV ("r_sb_frustomFOV","92", CVAR_RENDERER|CVAR_FLOAT,"oversize FOV for point light side matching") |
idCVar | r_sb_showFrustumPixels ("r_sb_showFrustumPixels","0", CVAR_RENDERER|CVAR_BOOL,"color the pixels contained in the frustum") |
idCVar | r_sb_singleSide ("r_sb_singleSide","-1", CVAR_RENDERER|CVAR_INTEGER,"only draw a single side (0-5) of point lights") |
idCVar | r_sb_useCulling ("r_sb_useCulling","1", CVAR_RENDERER|CVAR_BOOL,"cull geometry to individual side frustums") |
idCVar | r_sb_linearFilter ("r_sb_linearFilter","1", CVAR_RENDERER|CVAR_BOOL,"use GL_LINEAR instead of GL_NEAREST on shadow maps") |
idCVar | r_sb_screenSpaceShadow ("r_sb_screenSpaceShadow","1", CVAR_RENDERER|CVAR_BOOL,"build shadows in screen space instead of on surfaces") |
idCVar | r_hdr_useFloats ("r_hdr_useFloats","0", CVAR_RENDERER|CVAR_BOOL,"use a floating point rendering buffer") |
idCVar | r_hdr_exposure ("r_hdr_exposure","1.0", CVAR_RENDERER|CVAR_FLOAT,"maximum light scale") |
idCVar | r_hdr_bloomFraction ("r_hdr_bloomFraction","0.1", CVAR_RENDERER|CVAR_FLOAT,"fraction to smear across neighbors") |
idCVar | r_hdr_gamma ("r_hdr_gamma","1", CVAR_RENDERER|CVAR_FLOAT,"monitor gamma power") |
idCVar | r_hdr_monitorDither ("r_hdr_monitorDither","0.01", CVAR_RENDERER|CVAR_FLOAT,"random dither in monitor space") |
wglString_t | wglString [] |
Definition at line 1405 of file draw_exp.cpp.
Definition at line 501 of file draw_exp.cpp.
float R_EXP_CalcLightAxialSize | ( | viewLight_t * | vLight | ) |
Definition at line 1819 of file draw_exp.cpp.
Definition at line 2583 of file draw_exp.cpp.
Definition at line 1848 of file draw_exp.cpp.
Definition at line 479 of file draw_exp.cpp.
void RB_ARB2_DrawInteraction | ( | const drawInteraction_t * | din | ) |
Definition at line 67 of file draw_arb2.cpp.
Definition at line 2245 of file draw_exp.cpp.
Definition at line 2077 of file draw_exp.cpp.
void RB_EXP_CreateDrawInteractions | ( | const drawSurf_t * | surf | ) |
#
Definition at line 1265 of file draw_exp.cpp.
void RB_EXP_CullInteractions | ( | viewLight_t * | vLight, |
idPlane | frustumPlanes[6] | ||
) |
Definition at line 716 of file draw_exp.cpp.
void RB_EXP_DrawInteraction | ( | const drawInteraction_t * | din | ) |
Definition at line 1126 of file draw_exp.cpp.
Definition at line 2145 of file draw_exp.cpp.
Definition at line 2098 of file draw_exp.cpp.
void RB_EXP_RenderOccluders | ( | viewLight_t * | vLight | ) |
Definition at line 780 of file draw_exp.cpp.
void RB_Exp_SelectFrustum | ( | viewLight_t * | vLight, |
int | side | ||
) |
Definition at line 1579 of file draw_exp.cpp.
Definition at line 1924 of file draw_exp.cpp.
void RB_EXP_SetRenderBuffer | ( | viewLight_t * | vLight | ) |
Definition at line 1949 of file draw_exp.cpp.
const srfTriangles_t* RB_Exp_TrianglesForFrustum | ( | viewLight_t * | vLight, |
int | side | ||
) |
Definition at line 1454 of file draw_exp.cpp.
void RB_RenderShadowBuffer | ( | viewLight_t * | vLight, |
int | side | ||
) |
Definition at line 833 of file draw_exp.cpp.
Definition at line 1983 of file draw_exp.cpp.
void RB_T_FillDepthBuffer | ( | const drawSurf_t * | surf | ) |
Definition at line 350 of file draw_common.cpp.
Definition at line 2121 of file tr_rendertools.cpp.
idCVar r_hdr_bloomFraction("r_hdr_bloomFraction","0.1", CVAR_RENDERER|CVAR_FLOAT,"fraction to smear across neighbors") |
idCVar r_hdr_exposure("r_hdr_exposure","1.0", CVAR_RENDERER|CVAR_FLOAT,"maximum light scale") |
idCVar r_hdr_gamma("r_hdr_gamma","1", CVAR_RENDERER|CVAR_FLOAT,"monitor gamma power") |
idCVar r_hdr_monitorDither("r_hdr_monitorDither","0.01", CVAR_RENDERER|CVAR_FLOAT,"random dither in monitor space") |
idCVar r_hdr_useFloats("r_hdr_useFloats","0", CVAR_RENDERER|CVAR_BOOL,"use a floating point rendering buffer") |
idCVar r_sb_biasScale("r_sb_biasScale","0.0001", CVAR_RENDERER|CVAR_FLOAT,"scale factor for jitter bias") |
idCVar r_sb_frustomFOV("r_sb_frustomFOV","92", CVAR_RENDERER|CVAR_FLOAT,"oversize FOV for point light side matching") |
idCVar r_sb_jitterScale("r_sb_jitterScale","0.006", CVAR_RENDERER|CVAR_FLOAT,"scale factor for jitter offset") |
idCVar r_sb_lightResolution("r_sb_lightResolution","1024", CVAR_RENDERER|CVAR_INTEGER,"Pixel dimensions for each shadow buffer, 64 - 2048") |
idCVar r_sb_linearFilter("r_sb_linearFilter","1", CVAR_RENDERER|CVAR_BOOL,"use GL_LINEAR instead of GL_NEAREST on shadow maps") |
idCVar r_sb_occluderFacing("r_sb_occluderFacing","0", CVAR_RENDERER|CVAR_INTEGER,"0 = front faces, 1 = back faces, 2 = midway between") |
idCVar r_sb_polyOfsFactor("r_sb_polyOfsFactor","2", CVAR_RENDERER|CVAR_FLOAT,"polygonOffset factor for drawing shadow buffer") |
idCVar r_sb_polyOfsUnits("r_sb_polyOfsUnits","3000", CVAR_RENDERER|CVAR_FLOAT,"polygonOffset units for drawing shadow buffer") |
idCVar r_sb_randomize("r_sb_randomize","1", CVAR_RENDERER|CVAR_BOOL,"randomly offset jitter texture each draw") |
idCVar r_sb_samples("r_sb_samples","4", CVAR_RENDERER|CVAR_INTEGER,"0, 1, 4, or 16") |
idCVar r_sb_screenSpaceShadow("r_sb_screenSpaceShadow","1", CVAR_RENDERER|CVAR_BOOL,"build shadows in screen space instead of on surfaces") |
idCVar r_sb_showFrustumPixels("r_sb_showFrustumPixels","0", CVAR_RENDERER|CVAR_BOOL,"color the pixels contained in the frustum") |
idCVar r_sb_singleSide("r_sb_singleSide","-1", CVAR_RENDERER|CVAR_INTEGER,"only draw a single side (0-5) of point lights") |
idCVar r_sb_useCulling("r_sb_useCulling","1", CVAR_RENDERER|CVAR_BOOL,"cull geometry to individual side frustums") |
idCVar r_sb_viewResolution("r_sb_viewResolution","1024", CVAR_RENDERER|CVAR_INTEGER,"Width of screen space shadow sampling") |
wglString_t wglString[] |
Definition at line 179 of file draw_exp.cpp.