X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2Fshader.cpp;h=dbdeeb15552efa28699b4b7b50893e73ae9e10d3;hb=42db7d9d2286e50896ad172e2e4a8fbe65c8a4a9;hp=c63a28007b7bd312957cd782efbf42a38e24601b;hpb=fd08d1defb5c42d2847a9001e1921898e3d526bf;p=blobs.git diff --git a/src/graphics/shader.cpp b/src/graphics/shader.cpp index c63a280..dbdeeb1 100644 --- a/src/graphics/shader.cpp +++ b/src/graphics/shader.cpp @@ -227,7 +227,7 @@ PlanetSurface::PlanetSurface() "void main() {\n" "vec3 tex_color = texture(tex_sampler, frag_tex_uv).rgb;\n" - "vec3 total_light = tex_color * vec3(0.01, 0.01, 0.01);\n" + "vec3 total_light = tex_color * vec3(0.1, 0.1, 0.1);\n" "for (int i = 0; i < num_lights; ++i) {\n" "vec3 to_light = light[i].position - vtx_viewspace;\n" "float distance = length(to_light) + length(vtx_viewspace);\n" @@ -538,7 +538,7 @@ CreatureSkin::CreatureSkin() "void main() {\n" "vec3 tex_color = texture(tex_sampler, frag_tex_uv).rgb;\n" - "vec3 total_light = tex_color * vec3(0.01, 0.01, 0.01);\n" + "vec3 total_light = tex_color * vec3(0.1, 0.1, 0.1);\n" "for (int i = 0; i < num_lights; ++i) {\n" "vec3 to_light = light[i].position - vtx_viewspace;\n" "float distance = length(to_light) + length(vtx_viewspace);\n"