Guys how to put it in game?
NicoDE
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).