Risen 2009 - inclusion Ambient Light Type, need a help with this.

More
1 month 5 days ago - 1 month 5 days ago #1 by Densolobol3
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
Last edit: 1 month 5 days ago by Densolobol3.

Please Log in or Create an account to join the conversation.

More
1 month 4 days ago #2 by Densolobol3
Guys, who can make a Rim Lighting for Risen 2009?

Please Log in or Create an account to join the conversation.