From df0d5b264107cade5aba9f90cb42e7df5e3c70a6 Mon Sep 17 00:00:00 2001 From: assiduous Date: Fri, 27 Mar 2020 20:06:49 -0700 Subject: GLTF Loader: enabled two-sided materials --- AssetLoader/interface/GLTFLoader.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'AssetLoader/interface') 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; -- cgit v1.2.3