Add Phong lighting (WIP)
This commit is contained in:
@@ -103,7 +103,9 @@ namespace Nz
|
||||
Length = 3,
|
||||
Max = 4,
|
||||
Min = 5,
|
||||
Normalize = 9,
|
||||
Pow = 6,
|
||||
Reflect = 8,
|
||||
SampleTexture = 2,
|
||||
};
|
||||
|
||||
|
||||
@@ -40,6 +40,7 @@ namespace Nz::ShaderAst
|
||||
std::unordered_set<std::string> reservedIdentifiers;
|
||||
std::unordered_map<std::size_t, ConstantValue> optionValues;
|
||||
bool makeVariableNameUnique = false;
|
||||
bool removeConstDeclaration = false;
|
||||
bool reduceLoopsToWhile = false;
|
||||
bool removeCompoundAssignments = false;
|
||||
bool removeOptionDeclaration = false;
|
||||
|
||||
Reference in New Issue
Block a user