Normally, the renderer plugins in Deus Ex implement a number of default options.
For example, with the default software renderer, you can set the following options in the deusex.ini file:
Translucency=True
VolumetricLighting=True
ShinySurfaces=False
Coronas=False
HighDetailActors=True
HighResTextureSmooth=True
LowResTextureSmooth=False
FastTranslucency=True
Currently, this renderer does not implement any user-options at all.
It would be good if there was at least an option to toggle the coronas.
Options specific to this renderer could be:
If the thread affinity hack should be enabled
If unlit textures should be rendered as emissive.
Anything for future features, like self-shadowing.
Maybe flashlight settings
Ideally, this would be implemented as a class that abstracts the reads from GConfig, is accessible as a singleton, and offers getters/setters for the properties (perhaps to initialize defaults). The goal is to make sure all properties are funnelled through this configuration manager, so that all definitions are together and documented.
For reference, you can check the other existing renderers, or if SoftDrv.cpp (the default software renderer).
Basically, it involves calls to GConfig->GetSectionPrivate and GConfig->GetInt
Normally, the renderer plugins in Deus Ex implement a number of default options. For example, with the default software renderer, you can set the following options in the deusex.ini file:
Currently, this renderer does not implement any user-options at all. It would be good if there was at least an option to toggle the coronas.
Options specific to this renderer could be:
Ideally, this would be implemented as a class that abstracts the reads from GConfig, is accessible as a singleton, and offers getters/setters for the properties (perhaps to initialize defaults). The goal is to make sure all properties are funnelled through this configuration manager, so that all definitions are together and documented.