15.09.2020

Everything currently don't work / can't be tested.

+ Generic Shader-Implermentation
+ Mesh-System + Plate-Mesh
This commit is contained in:
Michel Fedde 2020-09-15 22:16:18 +02:00
parent 551d393ac2
commit 421d03f91d
24 changed files with 726 additions and 4 deletions

24
SM.Base/TestShader.cs Normal file
View file

@ -0,0 +1,24 @@
using OpenTK.Graphics.OpenGL4;
using SM.Base.StaticObjects;
using SM.OGL.Shaders;
namespace SM.Base
{
public class TestShader : GenericShader
{
public TestShader(ShaderFileCollection shaderFileFiles) : base(shaderFileFiles)
{
}
public void Draw()
{
GL.UseProgram(this);
DrawObject(Plate.Object, true);
GL.UseProgram(0);
}
}
}