mirror of
https://github.com/brammie15/VoxelRenderer.git
synced 2025-12-18 02:39:19 +01:00
Add MC
This commit is contained in:
@@ -1,8 +1,17 @@
|
||||
#version 430 core
|
||||
#version 460 core
|
||||
precision highp float;
|
||||
|
||||
out vec4 color;
|
||||
out vec4 FragColor;
|
||||
|
||||
in vec3 ourColor;
|
||||
in vec2 TexCoord;
|
||||
in vec3 pos;
|
||||
|
||||
uniform sampler2D ourTexture;
|
||||
|
||||
void main()
|
||||
{
|
||||
color = vec4(1.0f, 1.0f, 1.0f, 1.0f);
|
||||
}
|
||||
FragColor = texture(ourTexture, TexCoord);
|
||||
// FragColor = vec4(1.0f, TexCoord.x, 1.0f, 1.0);
|
||||
// FragColor = vec4(137 / 255, 85 / 255, 95 / 255, 1.0f);
|
||||
}
|
||||
Reference in New Issue
Block a user