mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-15 07:00:58 +00:00
Bumped r_shadowMapAtlasSize to 16384
This commit is contained in:
parent
f6fd593c72
commit
45b75aa623
3 changed files with 3 additions and 3 deletions
|
@ -625,7 +625,7 @@ void R_QuadraticImage( idImage* image, nvrhi::ICommandList* commandList )
|
|||
// RB begin
|
||||
static void R_CreateShadowMapImage_Atlas( idImage* image, nvrhi::ICommandList* commandList )
|
||||
{
|
||||
image->GenerateShadowArray( r_shadowMapAtlasSize.GetInteger(), r_shadowMapAtlasSize.GetInteger(), TF_LINEAR, TR_CLAMP_TO_ZERO_ALPHA, TD_DEPTH, commandList );
|
||||
image->GenerateImage( NULL, r_shadowMapAtlasSize.GetInteger(), r_shadowMapAtlasSize.GetInteger(), TF_LINEAR, TR_CLAMP_TO_ZERO_ALPHA, TD_DEPTH, commandList, true );
|
||||
}
|
||||
|
||||
static void R_CreateShadowMapImage_Res0( idImage* image, nvrhi::ICommandList* commandList )
|
||||
|
|
|
@ -135,7 +135,7 @@ void idRenderBackend::Init()
|
|||
// Maximum resolution of one tile within tiled shadow map. Resolution must be power of two and
|
||||
// square, since quad-tree for managing tiles will not work correctly otherwise. Furthermore
|
||||
// resolution must be at least 16.
|
||||
const int MAX_TILE_RES = 512;
|
||||
const int MAX_TILE_RES = shadowMapResolutions[ 0 ];
|
||||
|
||||
// Specifies how many levels the quad-tree for managing tiles within tiled shadow map should
|
||||
// have. The higher the value, the smaller the resolution of the smallest used tile will be.
|
||||
|
|
|
@ -266,7 +266,7 @@ idCVar r_useVirtualScreenResolution( "r_useVirtualScreenResolution", "0", CVAR_R
|
|||
idCVar r_useShadowMapping( "r_useShadowMapping", "1", CVAR_RENDERER | CVAR_ARCHIVE | CVAR_INTEGER, "use shadow mapping instead of stencil shadows" );
|
||||
#endif
|
||||
idCVar r_useShadowAtlas( "r_useShadowAtlas", "1", CVAR_RENDERER | CVAR_INTEGER, "" );
|
||||
idCVar r_shadowMapAtlasSize( "r_shadowMapAtlasSize", "8192", CVAR_RENDERER | CVAR_INTEGER | CVAR_ROM, "size of the shadowmap atlas" );
|
||||
idCVar r_shadowMapAtlasSize( "r_shadowMapAtlasSize", "16384", CVAR_RENDERER | CVAR_INTEGER | CVAR_ROM, "size of the shadowmap atlas" );
|
||||
idCVar r_shadowMapFrustumFOV( "r_shadowMapFrustumFOV", "92", CVAR_RENDERER | CVAR_FLOAT, "oversize FOV for point light side matching" );
|
||||
idCVar r_shadowMapSingleSide( "r_shadowMapSingleSide", "-1", CVAR_RENDERER | CVAR_INTEGER, "only draw a single side (0-5) of point lights" );
|
||||
idCVar r_shadowMapImageSize( "r_shadowMapImageSize", "1024", CVAR_RENDERER | CVAR_INTEGER, "", 128, 2048 );
|
||||
|
|
Loading…
Reference in a new issue