Materials kind of working and used in some places

- Also Texture viewer fixes
This commit is contained in:
Simon Lübeß
2025-02-09 01:39:35 +01:00
parent acfb052137
commit 76087d6ba4
21 changed files with 572 additions and 322 deletions
@@ -133,7 +133,7 @@ class ShaderLoader : IProcessedAssetLoader
}
Try!(stream.TryRead(buffer.RawData));
Try!(buffer.Update());
Try!(buffer.Apply());
if (vertexShaderBindPoint != -1)
effect.VertexShader.Buffers.Add(vertexShaderBindPoint, buffer.Name, buffer);