diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-11-30 04:31:32 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-11-30 04:31:32 +0000 |
| commit | eafb6c023a063d9932c2dc6d7f2163cc3a95415c (patch) | |
| tree | d6e8da80bbf2cf89facd95efdf1ed77ef0cb1377 /AssetLoader/interface | |
| parent | TextureLoader: using ComputeMipLevel function (diff) | |
| download | DiligentTools-eafb6c023a063d9932c2dc6d7f2163cc3a95415c.tar.gz DiligentTools-eafb6c023a063d9932c2dc6d7f2163cc3a95415c.zip | |
GLTF Loader: added texture coordinate scale and bias for use in texture atlas
Diffstat (limited to 'AssetLoader/interface')
| -rw-r--r-- | AssetLoader/interface/GLTFLoader.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/AssetLoader/interface/GLTFLoader.hpp b/AssetLoader/interface/GLTFLoader.hpp index 1420d89..16a95b5 100644 --- a/AssetLoader/interface/GLTFLoader.hpp +++ b/AssetLoader/interface/GLTFLoader.hpp @@ -86,6 +86,13 @@ struct Material Uint8 Normal = 0; Uint8 Occlusion = 0; Uint8 Emissive = 0; + + float4 BaseColorScaleBias = float4{1, 1, 0, 0}; + float4 MetallicRoughnessScaleBias = float4{1, 1, 0, 0}; + float4 SpecularGlossinessScaleBias = float4{1, 1, 0, 0}; + float4 NormalScaleBias = float4{1, 1, 0, 0}; + float4 OcclusionScaleBias = float4{1, 1, 0, 0}; + float4 EmissiveScaleBias = float4{1, 1, 0, 0}; }; TextureCoordinateSets TexCoordSets; |
