u authored by Hannu Hanhi's avatar Hannu Hanhi
...@@ -72,10 +72,10 @@ The following definitions are added: ...@@ -72,10 +72,10 @@ The following definitions are added:
- `#define PALETTE_RENDERING`: Planned definition that is to be used if palette rendering is enabled. - `#define PALETTE_RENDERING`: Planned definition that is to be used if palette rendering is enabled.
- Perhaps some definitions about the current environment could be added, for example a definition for the OpenGL version. - Perhaps later some definitions about the current environment could be added, for example a definition for the OpenGL version.
When the graphics settings are changed, the shaders are reprocessed and recompiled if needed. When relevant graphics settings are changed, the shaders are reprocessed and recompiled.
This change merges the previously used "model" and "lit model" shaders together, eliminating the need for keeping separate shaders for every possible graphics setting configuration. This change merges the previously used "model" and "lit model" shaders together, eliminating the need for having separate shaders for every graphics setting combination.
This change will also make the implementation of palette shaders easier by providing a clear mechanism for switching them on or off. Custom shaders will also be able to support palette rendering. This change will also make the implementation of palette shaders easier by providing a clear mechanism for switching them on or off. Custom shaders will also be able to support palette rendering.