mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-21 10:49:23 +00:00
Changed EGame to an enum class. Created NGameList and NPropertyMap to change how templates are managed/saved/loaded. Added support for property map keeping track of ID/type pairs.
This commit is contained in:
@@ -481,7 +481,7 @@ bool CShaderGenerator::CreatePixelShader(const CMaterial& rkMat)
|
||||
|
||||
if (rkMat.Options() & CMaterial::ePunchthrough)
|
||||
{
|
||||
if (rkMat.Version() < eCorruptionProto)
|
||||
if (rkMat.Version() < EGame::CorruptionProto)
|
||||
{
|
||||
ShaderCode << " if (Prev.a <= 0.25) discard;\n"
|
||||
<< " else Prev.a = 1.0;\n\n";
|
||||
|
||||
Reference in New Issue
Block a user