aboutsummaryrefslogtreecommitdiffstatsci
path: root/vke/src/model/PbrModelTexArray.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2019-08-23 12:53:37 +0200
committerj-p <jp_bruyere@hotmail.com>2019-08-28 11:32:06 +0200
commit28e25d4c9f0ec82f2c7b4eeb63aba7f0c6d4e91f (patch)
tree23ce5a09799691f8ace90354f716e0358287e64c /vke/src/model/PbrModelTexArray.cs
parent3ebbf86e007af2ab49f5e50d8b36f63e00c29c81 (diff)
save comit before image modif
Diffstat (limited to 'vke/src/model/PbrModelTexArray.cs')
-rw-r--r--vke/src/model/PbrModelTexArray.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/vke/src/model/PbrModelTexArray.cs b/vke/src/model/PbrModelTexArray.cs
index 99c6f76..162182e 100644
--- a/vke/src/model/PbrModelTexArray.cs
+++ b/vke/src/model/PbrModelTexArray.cs
@@ -43,7 +43,7 @@ namespace CVKL {
/// <summary>
/// Material structure for ubo containing texture indices in tex array
/// </summary>
- public new struct Material {
+ public struct Material {
public Vector4 baseColorFactor;
public Vector4 emissiveFactor;
public Vector4 diffuseFactor;
@@ -110,7 +110,7 @@ namespace CVKL {
}
void loadMaterials (glTFLoader ctx) {
- Model.Material[] mats = ctx.LoadMaterial ();
+ glTFLoader.Material[] mats = ctx.LoadMaterial ();
materials = new Material[mats.Length];
for (int i = 0; i < mats.Length; i++) {