material initial and pose fix

This commit is contained in:
bird_egop
2026-06-06 21:26:56 +03:00
parent 776bb9fcb3
commit 5baf3f324f
13 changed files with 536 additions and 248 deletions
@@ -54,6 +54,11 @@ public sealed unsafe class ShaderProgram
_gl.Uniform3(location, value.X, value.Y, value.Z);
}
public void SetInt(int location, int value)
{
_gl.Uniform1(location, value);
}
public void SetVector4(int location, Vector4 value)
{
_gl.Uniform4(location, value.X, value.Y, value.Z, value.W);