Shader options

From ZDoom Wiki
Jump to navigation Jump to search
Menus: Main menu → Options menu → Display options → OpenGL options
The shader options menu in LOS.

The shader options menu allowed to choose whether or not to use MiniWikipediaLogoIcon.pngpixel shaders for special effects. Its MENUDEF name is GLShaderOptions. These settings are only followed if the hardware's support of shaders is limited to shader model 3. A better hardware (supporting shader model 4 or newer) will always use shaders; a worse hardware (limited to shader model 2) will never use them.

  • Enable brightness maps (On/Off)
gl_brightmap_shader
Enables or disables brightmaps, also known as glowmaps. These let parts of a sprite, flat or texture retain a brightness above that of the rest of the image. Brightmaps are automatically constructed when a color index is identical at all brightness levels of the COLORMAP (an effect used in Strife and Harmony), but custom brightmaps can be defined through GLDEFS with greyscaled images. The brighter a pixel is on the greyscaled brightmaps, the closer to full brightness its corresponding part on the source image will remain.
  • Shaders for texture warp (On/Off)
gl_warp_shader
Enables or disables the use of shaders to handle texture warping.
  • Shaders for fog (On/Off)
gl_fog_shader
Enables or disables the use of shaders to handle fog.
  • Shaders for colormaps (On/Off)
gl_colormap_shader
Enables or disables the use of shaders to handle colormaps.
  • Shaders for glowing textures (On/Off)
gl_glow_shader
Enables or disables the use of shaders to handle glowing flats.