diff --git a/RecrownedAthenaeum/Render/Shader/default.frag b/RecrownedAthenaeum/Render/Shader/default.frag new file mode 100644 index 0000000..55d4ec1 --- /dev/null +++ b/RecrownedAthenaeum/Render/Shader/default.frag @@ -0,0 +1,10 @@ +out vec4 outputColor; + +in vec2 texCoord; + +uniform sampler2D texture0; + +void main() +{ + outputColor = texture(texture0, texCoord); +} \ No newline at end of file diff --git a/RecrownedAthenaeum/Render/Shader/default.vert b/RecrownedAthenaeum/Render/Shader/default.vert new file mode 100644 index 0000000..b3bd386 --- /dev/null +++ b/RecrownedAthenaeum/Render/Shader/default.vert @@ -0,0 +1,7 @@ +#version 330 core +layout (location = 0) in vec3 aPosition; + +void main() +{ + gl_Position = vec4(aPosition, 1.0); +} \ No newline at end of file diff --git a/RecrownedAthenaeum/Types/IRectangleDrawable.cs b/RecrownedAthenaeum/Types/IRectangleDrawable.cs index 43204cf..3a42ea7 100644 --- a/RecrownedAthenaeum/Types/IRectangleDrawable.cs +++ b/RecrownedAthenaeum/Types/IRectangleDrawable.cs @@ -10,5 +10,8 @@ namespace RecrownedAthenaeum.Types byte[] ColorData { get; } + float[] vertices { + get; + } } }