X-Git-Url: http://git.localhorst.tv/?p=blobs.git;a=blobdiff_plain;f=src%2Fgraphics%2Fshader.cpp;h=dbdeeb15552efa28699b4b7b50893e73ae9e10d3;hp=1b641b07107d8f2954dca055c7e249e3c3b410fa;hb=42db7d9d2286e50896ad172e2e4a8fbe65c8a4a9;hpb=8f6530c75730f901efd6708e4fde7e68a178adf1 diff --git a/src/graphics/shader.cpp b/src/graphics/shader.cpp index 1b641b0..dbdeeb1 100644 --- a/src/graphics/shader.cpp +++ b/src/graphics/shader.cpp @@ -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"