This commit is contained in:
Lucas Dower 2021-09-20 20:06:59 +01:00
parent 49b0ce574d
commit 9b0697009a
2 changed files with 2223 additions and 2223 deletions

File diff suppressed because it is too large Load Diff

View File

@ -21,7 +21,7 @@ void main() {
//vec3 diffuse = texture2D(u_texture, v_texcoord).rgb;
//vec3 diffuse = v_colour;
vec2 tex = v_blockTexcoord + (v_texcoord / (16.0 * 3.0));
vec2 tex = v_blockTexcoord + (v_texcoord / (14.0 * 3.0));
vec3 diffuse = texture2D(u_texture, tex).rgb;
//vec3 diffuse = vec3(1.0, 1.0, 1.0);
gl_FragColor = vec4(diffuse * (v_lighting * g), 1.0);