NicoDE once said:https://forum.worldofplayers.de/foru...-%28*-_xmat%29
-------------------------------------------------------------------------------------------
According to the .\data\compiled\effects\shadermaterial\ge_default.fxh:
// enum
#define EAmbientLightType_None 0
#define EAmbientLightType_Simple 1
#define EAmbientLightType_Complex 2
The enumeration should look like this:
Код:
// eCShaderDefault.AmbientLightType (deprecated)
enum eEShaderMaterialAmbientType
{
eEShaderMaterialAmbientType_None = 0x00000000,
eEShaderMaterialAmbientType_Simple = 0x00000001,
eEShaderMaterialAmbientType_Complex = 0x00000002
};
Good luck

ps: The XFX_AMBIENTLIGHTTYPE shader macro now depends on the shader version: eCShaderVersionDefault_2_0 set it to 0x00000001 (Simple) and eCShaderVersionDefault_3_0 to 0x00000002 (Complex).
-------------------------------------------------------------------------------------------
You tell me what is that, so this is an deleted by Piranha Bytes a lighting system from Risen 1, at the moment in game much worst BRDFLightType system. On the old screenshots you can see a AmbientLightType system and how NPC's early glowed in dark places and more.
If anyonw could anyhow to hack Engine.dll and edit all xmat files from stupid and very worst BRDFLIGHTTYPE to AMBIENTLIGHTTYPE it wold be a very great, it's can open a new feelings from the game!

[Bild: ]