diff --git a/src/Aardvark.Data.Wavefront/MtlParser.cs b/src/Aardvark.Data.Wavefront/MtlParser.cs index 276b9af0..82507aae 100644 --- a/src/Aardvark.Data.Wavefront/MtlParser.cs +++ b/src/Aardvark.Data.Wavefront/MtlParser.cs @@ -103,6 +103,7 @@ public static List Load(Stream stream, Encoding encoding, str { new Text("map_Kd"), (s, a) => s.SetAttribute(WavefrontMaterial.Property.DiffuseColorMap, Primitives.ParseMap(a, s.BaseDir)) }, { new Text("map_Ks"), (s, a) => s.SetAttribute(WavefrontMaterial.Property.SpecularColorMap, Primitives.ParseMap(a, s.BaseDir)) }, { new Text("map_Kn"), (s, a) => s.SetAttribute(WavefrontMaterial.Property.NormalMap, Primitives.ParseMap(a, s.BaseDir)) }, + { new Text("map_Ke"), (s, a) => s.SetAttribute(WavefrontMaterial.Property.EmissiveColorMap, Primitives.ParseMap(a, s.BaseDir)) }, { new Text("map_Ns"), (s, a) => s.SetAttribute(WavefrontMaterial.Property.SpecularExponentMap, Primitives.ParseMap(a, s.BaseDir)) }, { new Text("map_d"), (s, a) => s.SetAttribute(WavefrontMaterial.Property.OpacityMap, Primitives.ParseMap(a, s.BaseDir)) }, { new Text("decal"), (s, a) => s.SetAttribute(WavefrontMaterial.Property.DecalMap, Primitives.ParseMap(a, s.BaseDir)) }, diff --git a/src/Aardvark.Data.Wavefront/WavefrontMaterial.cs b/src/Aardvark.Data.Wavefront/WavefrontMaterial.cs index 6ea48e8b..37349a34 100644 --- a/src/Aardvark.Data.Wavefront/WavefrontMaterial.cs +++ b/src/Aardvark.Data.Wavefront/WavefrontMaterial.cs @@ -20,6 +20,7 @@ public static class Property public static readonly Symbol AmbientColorMap = "AmbientColorMap"; public static readonly Symbol DiffuseColorMap = "DiffuseColorMap"; public static readonly Symbol SpecularColorMap = "SpecularColorMap"; + public static readonly Symbol EmissiveColorMap = "EmissiveColorMap"; public static readonly Symbol SpecularExponentMap = "SpecularExponentMap"; public static readonly Symbol OpacityMap = "OpacityMap"; public static readonly Symbol DecalMap = "DecalMap";