Shader/GlslWriter: Add depth fix (from [0;1] to [-1;1]
This commit is contained in:
@@ -96,6 +96,7 @@ namespace Nz
|
||||
return context.IsExtensionSupported(std::string(ext));
|
||||
};
|
||||
env.flipYPosition = true;
|
||||
env.normalizeDepth = true;
|
||||
|
||||
GlslWriter writer;
|
||||
writer.SetEnv(env);
|
||||
|
||||
Reference in New Issue
Block a user