mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-16 08:32:02 +00:00
Added shadowmap quality setting to the dynamic light options menu.
This commit is contained in:
parent
4b82bb50df
commit
ea5cffdc81
2 changed files with 26 additions and 14 deletions
|
@ -2688,13 +2688,14 @@ GLTEXMNU_TRIMSPREDGE = "Trim sprite edges";
|
|||
GLTEXMNU_SORTDRAWLIST = "Sort draw lists by texture";
|
||||
|
||||
// Dynamic Light Options
|
||||
GLLIGHTMNU_TITLE = "DYNAMIC LIGHTS";
|
||||
GLLIGHTMNU_LIGHTSENABLED = "Dynamic Lights (OpenGL)";
|
||||
GLLIGHTMNU_LIGHTDEFS = "Enable light definitions";
|
||||
GLLIGHTMNU_CLIPLIGHTS = "Clip lights";
|
||||
GLLIGHTMNU_LIGHTSPRITES = "Lights affect sprites";
|
||||
GLLIGHTMNU_LIGHTPARTICLES = "Lights affect particles";
|
||||
GLLIGHTMNU_LIGHTSHADOWMAP = "Light shadowmaps";
|
||||
GLLIGHTMNU_TITLE = "DYNAMIC LIGHTS";
|
||||
GLLIGHTMNU_LIGHTSENABLED = "Dynamic Lights (OpenGL)";
|
||||
GLLIGHTMNU_LIGHTDEFS = "Enable light definitions";
|
||||
GLLIGHTMNU_CLIPLIGHTS = "Clip lights";
|
||||
GLLIGHTMNU_LIGHTSPRITES = "Lights affect sprites";
|
||||
GLLIGHTMNU_LIGHTPARTICLES = "Lights affect particles";
|
||||
GLLIGHTMNU_LIGHTSHADOWMAP = "Light shadowmaps";
|
||||
GLLIGHTMNU_LIGHTSHADOWMAPQUALITY = "Shadowmap quality";
|
||||
|
||||
// OpenGL Preferences
|
||||
GLPREFMNU_TITLE = "OPENGL PREFERENCES";
|
||||
|
|
|
@ -2127,6 +2127,16 @@ OptionValue VRMode
|
|||
7, "$OPTVAL_QUADBUFFERED"
|
||||
}
|
||||
|
||||
OptionValue ShadowMapQuality
|
||||
{
|
||||
32, "32"
|
||||
64, "64"
|
||||
128, "128"
|
||||
256, "256"
|
||||
512, "512"
|
||||
1024, "1024"
|
||||
}
|
||||
|
||||
OptionMenu "GLTextureGLOptions" protected
|
||||
{
|
||||
Title "$GLTEXMNU_TITLE"
|
||||
|
@ -2147,13 +2157,14 @@ OptionMenu "GLTextureGLOptions" protected
|
|||
OptionMenu "GLLightOptions" protected
|
||||
{
|
||||
Title "$GLLIGHTMNU_TITLE"
|
||||
Option "$TCMNU_DYNLIGHTS", "r_dynlights", "OnOff"
|
||||
Option "$GLLIGHTMNU_LIGHTSENABLED", gl_lights, "OnOff"
|
||||
Option "$GLLIGHTMNU_LIGHTDEFS", gl_attachedlights, "YesNo"
|
||||
Option "$GLLIGHTMNU_CLIPLIGHTS", gl_lights_checkside, "YesNo"
|
||||
Option "$GLLIGHTMNU_LIGHTSPRITES", gl_light_sprites, "YesNo"
|
||||
Option "$GLLIGHTMNU_LIGHTPARTICLES", gl_light_particles, "YesNo"
|
||||
Option "$GLLIGHTMNU_LIGHTSHADOWMAP", gl_light_shadowmap, "YesNo"
|
||||
Option "$TCMNU_DYNLIGHTS", "r_dynlights", "OnOff"
|
||||
Option "$GLLIGHTMNU_LIGHTSENABLED", gl_lights, "OnOff"
|
||||
Option "$GLLIGHTMNU_LIGHTDEFS", gl_attachedlights, "YesNo"
|
||||
Option "$GLLIGHTMNU_CLIPLIGHTS", gl_lights_checkside, "YesNo"
|
||||
Option "$GLLIGHTMNU_LIGHTSPRITES", gl_light_sprites, "YesNo"
|
||||
Option "$GLLIGHTMNU_LIGHTPARTICLES", gl_light_particles, "YesNo"
|
||||
Option "$GLLIGHTMNU_LIGHTSHADOWMAP", gl_light_shadowmap, "YesNo"
|
||||
Option "$GLLIGHTMNU_LIGHTSHADOWMAPQUALITY", gl_shadowmap_quality, "ShadowMapQuality"
|
||||
}
|
||||
|
||||
OptionMenu "OpenGLOptions" protected
|
||||
|
|
Loading…
Reference in a new issue