Skip to content

17.7-dev10 - Revert DirectXMath to quickly fix lighting issues [UPDATE]

Pre-release
Pre-release

Choose a tag to compare

@kirides kirides released this 26 Feb 18:38
· 1121 commits to master since this release

Fixes

This release fixes #11 by reverting all the changes regarding DirectXMath.

There were some undetectable changes after converting to DirectXMath, which forced me to revert them.
I will slowly re-convert the Renderer to using DirectXMath over the next few weeks/months.

Normalmaps and other Game-dependent resources

Normalmaps are now loaded from a directory specific to the launched game ( -game:XXXX.ini-launch argument)

This allows to store Normalmaps for regular Gothic in Normalmaps_Original\, LHiver 1.7 DE in Normalmaps_LHE17_DE\, etc.

The name is the name of the respective mods *.INI-File, e.g.:

  • LHE17_DE for "L'Hiver"
  • Gothic2_Atariar for "Atariar Edition"

This also applies to custom ZENResources (e.g. renderer vegetation).

Gothic II Specific Font-Rendering Prototype

This version also includes a prototype for Font-Rendering, which should improve performance for Gothic Multiplayer when a lot of text is displayed.

the Custom Font-Renderer is Opt-In since it's just a prototype and has some issues.

  • Questlog is not working properly. The menu-items are still displayed if you are reading the questlog, which makes certain parts unreadable
  • Alpha-Blending is not implemented. Some text will be strictly white, because it is not blended with the underlying text.
  • Text-positioning in subtitles is a bit off.

To Opt-In to the Custom Font-Renderer, add the following lines to the bottom of your GD3D11\UserSettings.ini

[FontRendering]
Enable=1
FontDefault=Gothic_14.spritefont
FontMenu=Gothic_14.spritefont

UPDATE

Fixed an issue with Gothic 2, where the font would be misplaced. - Download the latest dev10-fix1