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