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

  • Densolobol3
  • Topic Author
More
5 years 1 month ago - 5 years 1 month ago #1 by Densolobol3 Risen 2009 - inclusion Ambient Light Type, need a help with this. was created 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: 5 years 1 month ago by Densolobol3.

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

  • Densolobol3
  • Topic Author
More
5 years 1 month ago #2 by Densolobol3 Replied by Densolobol3 on topic Risen 2009 - inclusion Ambient Light Type, need a help with this.
Guys, who can make a Rim Lighting for Risen 2009?

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

We use cookies
We use cookies on our website. Some of them are essential for the operation of the forum. You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.