How to put this in Risen game, this empty in Engine.dll, can anyone help me add it, need to replace this enum:
// eCShaderDefault.BRDFLightingType
enum eEShaderMaterialBRDFType
{
eEShaderMaterialBRDFType_Simple = 0x00000000,
eEShaderMaterialBRDFType_Complex = 0x00000001,
eEShaderMaterialBRDFType_WrapAround = 0x00000002
};
On this enumeration, she should look like this:
Code:
// eCShaderDefault.AmbientLightType (deprecated)
enum eEShaderMaterialAmbientType
{
eEShaderMaterialAmbientType_None = 0x00000000,
eEShaderMaterialAmbientType_Simple = 0x00000001,
eEShaderMaterialAmbientType_Complex = 0x00000002
};
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
Forum -
forum.worldofplayers.de/forum/threads/91...format-%28*-_xmat%29