summaryrefslogtreecommitdiffstats
path: root/AssetLoader/interface
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-03-28 03:06:49 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-03-28 03:06:49 +0000
commitdf0d5b264107cade5aba9f90cb42e7df5e3c70a6 (patch)
tree057b86a6ec50fe83467680468822db255c4e62b8 /AssetLoader/interface
parentEnabled format validation on linux (diff)
downloadDiligentTools-df0d5b264107cade5aba9f90cb42e7df5e3c70a6.tar.gz
DiligentTools-df0d5b264107cade5aba9f90cb42e7df5e3c70a6.zip
GLTF Loader: enabled two-sided materials
Diffstat (limited to 'AssetLoader/interface')
-rw-r--r--AssetLoader/interface/GLTFLoader.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/AssetLoader/interface/GLTFLoader.hpp b/AssetLoader/interface/GLTFLoader.hpp
index a444ea5..1a4d9d9 100644
--- a/AssetLoader/interface/GLTFLoader.hpp
+++ b/AssetLoader/interface/GLTFLoader.hpp
@@ -63,6 +63,8 @@ struct Material
};
ALPHA_MODE AlphaMode = ALPHAMODE_OPAQUE;
+ bool DoubleSided = false;
+
float AlphaCutoff = 1.0f;
float MetallicFactor = 1.0f;
float RoughnessFactor = 1.0f;