mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-13 23:26:07 +09:00
const-ifying shaders
This commit is contained in:
@@ -4,7 +4,7 @@ in vec4 v_color;
|
||||
in vec2 v_texCoords;
|
||||
uniform sampler2D u_texture;
|
||||
|
||||
vec2 boolean = vec2(0.0, 1.0);
|
||||
const vec2 boolean = vec2(0.0, 1.0);
|
||||
out vec4 fragColor;
|
||||
|
||||
void main(void) {
|
||||
|
||||
Reference in New Issue
Block a user