Overview

The GlEnable plugin applies an image post-processing layer to the whole game screen. The server sends the parameters to the client from the server selection screen, so all players see the same image quality.

Requirements

  • The GlEnable plugin is purchased and [Plugin] GlEnable = 1.
  • The client only needs Main.dll. If the plugin is off or not purchased: the client does not apply post-processing.

Configuration of the [GlEnable] section

Either a period or a comma may be used as the decimal separator. Values outside the range are automatically clamped to the limit. The server sends the value multiplied by 1000.

KeyValueDefaultMeaning
Brightness-1.0 to 1.00.06 (sample file 0.06)Brightness. 0 = original.
Contrast0.0 to 3.01.15 (sample file 1.00)Contrast. 1 = original.
Saturation0.0 to 3.01.2 (sample file 1.2)Color saturation. 1 = original.
Gamma0.2 to 5.01.00 (sample file 1.00)Gamma. 1 = original.
Sharpness0.0 to 2.00.28 (sample file 0.28)Sharpness. 0 = off.
FXAA0.0 to 1.00.05 (sample file 0.05)Anti-aliasing. 0 = off.
Dither0.0 to 1.00.00 (sample file 0.00)Smooths color banding. 0 = off.

The default in column 3 is the value used when the key is removed from the file; the value in parentheses is the value in the sample Plugin.ini file shipped with the installation.

[Plugin]
GlEnable 		= 1

[GlEnable]
Brightness=0.06
Contrast=1.00
Saturation=1.2
Gamma=1.00
Sharpness=0.28
FXAA=0.05
Dither=0.00
To return the image to its original state: Brightness 0, Contrast 1, Saturation 1, Gamma 1, Sharpness 0, FXAA 0, Dither 0 (or set GlEnable = 0).

Applying changes

Edit Data\Plugin\Plugin.ini and then click Reload plugin on the GameServer panel; players who are online receive it immediately.