mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
point to textures
This commit is contained in:
1 parent
c86b269cf2
commit
f790d07ed6
2 files changed
+12
-9
No files matched your search
@@ -81,7 +81,7 @@ public class MonoGltf
|
||||
{
|
||||
var texture = parameterTexture.Value;
|
||||
var name = Path.GetFileNameWithoutExtension(texture.GetPathName());
|
||||
var path = $"textures/{name}.webp";
|
||||
var path = $"../../textures/{name}.webp";
|
||||
|
||||
materialBuilder.WithChannelImage(channel, stubTexture);
|
||||
materialBuilder.GetChannel(channel).Texture.PrimaryImage.Name = path;
|
||||
|
||||
Reference in new issue
Block a user