polyadvent

A game engine from scratch in C
git clone git://jb55.com/polyadvent
Log | Files | Refs | README

commit 3520a325b301e2871413479035e6afe47f9453de
parent 6591b2054554012a073bd20e3d1823ea97e37ec6
Author: William Casarin <jb55@jb55.com>
Date:   Wed, 31 Oct 2018 12:34:00 -0700

too shiny

Diffstat:
Metc/shaders/lighting.glsl | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/etc/shaders/lighting.glsl b/etc/shaders/lighting.glsl @@ -23,7 +23,7 @@ vec3 standard_light(vec3 color, vec3 position) { const float pi = 3.14159265; const float shiny = 6.0; float ambient_str = 0.2; - float spec_str = 1.0 * light_intensity; + float spec_str = 0.8 * light_intensity; vec3 ray = camera_position - position; vec3 view_dir = normalize(ray);