point to textures

This commit is contained in:
tresabhi committed 2026-06-08 20:24:51 -05:00
1 parent c86b269cf2
commit f790d07ed6
2 files changed
+12 -9

No files matched your search

+1 -1
View File
@@ -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;