mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-18 22:51:39 +00:00
- add new option to menu
This commit is contained in:
parent
58b7967eea
commit
62c11cd1a5
2 changed files with 9 additions and 0 deletions
|
@ -2774,6 +2774,7 @@ GLLIGHTMNU_LIGHTSPRITES = "Lights affect sprites";
|
|||
GLLIGHTMNU_LIGHTPARTICLES = "Lights affect particles";
|
||||
GLLIGHTMNU_LIGHTSHADOWMAP = "Light shadowmaps";
|
||||
GLLIGHTMNU_LIGHTSHADOWMAPQUALITY = "Shadowmap quality";
|
||||
GLLIGHTMNU_LIGHTSHADOWMAPFILTER = "Shadowmap filter";
|
||||
|
||||
// OpenGL Preferences
|
||||
GLPREFMNU_TITLE = "OPENGL PREFERENCES";
|
||||
|
|
|
@ -2255,6 +2255,13 @@ OptionValue ShadowMapQuality
|
|||
1024, "1024"
|
||||
}
|
||||
|
||||
OptionValue ShadowMapFilter
|
||||
{
|
||||
0, "$OPTVAL_LINEAR"
|
||||
1, "PCF"
|
||||
}
|
||||
|
||||
|
||||
OptionMenu "GLTextureGLOptions" protected
|
||||
{
|
||||
Title "$GLTEXMNU_TITLE"
|
||||
|
@ -2291,6 +2298,7 @@ OptionMenu "GLLightOptions" protected
|
|||
Option "$GLLIGHTMNU_LIGHTPARTICLES", gl_light_particles, "YesNo"
|
||||
Option "$GLLIGHTMNU_LIGHTSHADOWMAP", gl_light_shadowmap, "YesNo"
|
||||
Option "$GLLIGHTMNU_LIGHTSHADOWMAPQUALITY", gl_shadowmap_quality, "ShadowMapQuality"
|
||||
Option "$GLLIGHTMNU_LIGHTSHADOWMAPFILTER", gl_shadowmap_filter, "ShadowMapFilter"
|
||||
}
|
||||
|
||||
OptionMenu "OpenGLOptions" protected
|
||||
|
|
Loading…
Reference in a new issue