- Posts: 3
Risen 2009 - inclusion Ambient Light Type, need a help with this.
- Densolobol3
-
Topic Author
- Offline
Less More
1 year 8 months ago - 1 year 8 months 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
// 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 year 8 months ago by Densolobol3.
Please Log in or Create an account to join the conversation.
- Densolobol3
-
Topic Author
- Offline
Less More
- Posts: 3
1 year 8 months 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.