Another restructure with code updates.
Updated RectTextrue.cs, VertexInformation.cs, and IDrawable.cs to properly pass indice information.
This commit is contained in:
10
RecrownedGTK/Graphics/Render/Shaders/default.frag
Normal file
10
RecrownedGTK/Graphics/Render/Shaders/default.frag
Normal file
@@ -0,0 +1,10 @@
|
||||
out vec4 outputColor;
|
||||
|
||||
in vec2 texCoord;
|
||||
in vec4 color;
|
||||
uniform sampler2D texture0;
|
||||
|
||||
void main()
|
||||
{
|
||||
outputColor = texture(texture0, texCoord) * color;
|
||||
}
|
||||
Reference in New Issue
Block a user