- add new option to menu

This commit is contained in:
Christoph Oelckers 2018-09-29 13:31:13 +02:00
parent c8852b8fea
commit 35bb2d3079
2 changed files with 9 additions and 0 deletions

View file

@ -2787,6 +2787,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";

View file

@ -2225,6 +2225,13 @@ OptionValue ShadowMapQuality
1024, "1024"
}
OptionValue ShadowMapFilter
{
0, "$OPTVAL_LINEAR"
1, "PCF"
}
OptionMenu "GLTextureGLOptions" protected
{
Title "$GLTEXMNU_TITLE"
@ -2259,6 +2266,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