Skip to content
Snippets Groups Projects
Commit 006f307c authored by Johannes Kung's avatar Johannes Kung
Browse files

Green ground

parent b150f4d2
No related branches found
No related tags found
No related merge requests found
...@@ -34,7 +34,7 @@ void main(void) { ...@@ -34,7 +34,7 @@ void main(void) {
float shadow = calculate_shadow(); float shadow = calculate_shadow();
vec3 shade = diffuse_light(normalize(v_normal)); vec3 shade = diffuse_light(normalize(v_normal));
vec3 color1 = vec3(0.4, 0.3, 0.2); vec3 color1 = vec3(0.2, 0.6, 0.1);
vec3 color2 = vec3(1.0, 1.0, 1.0); vec3 color2 = vec3(1.0, 1.0, 1.0);
vec2 tcoord = vec2(ivec2(v_texcoord * coord_sample_rate)) / coord_sample_rate; vec2 tcoord = vec2(ivec2(v_texcoord * coord_sample_rate)) / coord_sample_rate;
float map_value = float(int(texture(noise, tcoord).x * noise_sample_rate)) / noise_sample_rate; float map_value = float(int(texture(noise, tcoord).x * noise_sample_rate)) / noise_sample_rate;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment