X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2Fshader.cpp;fp=src%2Fgraphics%2Fshader.cpp;h=1b641b07107d8f2954dca055c7e249e3c3b410fa;hb=3b0a4ba59825b2d6a47e9d997736742edf55240c;hp=c63a28007b7bd312957cd782efbf42a38e24601b;hpb=25ea209f2732dfe643844f303d304dc3c6a5f4f0;p=blobs.git diff --git a/src/graphics/shader.cpp b/src/graphics/shader.cpp index c63a280..1b641b0 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"