Add Transparent Lighting Modes for material with option to use non-directional shading
This commit is contained in:
@@ -69,9 +69,9 @@ public:
|
||||
/// </summary>
|
||||
MaterialInfo8 MaterialInfo;
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
/// File header, version 19
|
||||
/// [Deprecated on 13.07.2022, expires on 13.07.2024]
|
||||
/// </summary>
|
||||
struct Header19
|
||||
{
|
||||
@@ -115,8 +115,53 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
/// File header, version 20
|
||||
/// </summary>
|
||||
struct Header20
|
||||
{
|
||||
static const int32 Version = 20;
|
||||
|
||||
union
|
||||
{
|
||||
struct
|
||||
{
|
||||
} Shader;
|
||||
|
||||
struct
|
||||
{
|
||||
/// <summary>
|
||||
/// The material graph version.
|
||||
/// </summary>
|
||||
int32 GraphVersion;
|
||||
|
||||
/// <summary>
|
||||
/// The material additional information.
|
||||
/// </summary>
|
||||
MaterialInfo10 Info;
|
||||
} Material;
|
||||
|
||||
struct
|
||||
{
|
||||
/// <summary>
|
||||
/// The particle emitter graph version.
|
||||
/// </summary>
|
||||
int32 GraphVersion;
|
||||
|
||||
/// <summary>
|
||||
/// The custom particles data size (in bytes).
|
||||
/// </summary>
|
||||
int32 CustomDataSize;
|
||||
} ParticleEmitter;
|
||||
};
|
||||
|
||||
Header20()
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
/// Current header type
|
||||
/// </summary>
|
||||
typedef Header19 Header;
|
||||
typedef Header20 Header;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user