polyadvent

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

commit a04ded72ba978a59a38c6e249c5a70ff46b827ea
parent 545641114be3e55c535babd0006b3b0a3dd47500
Author: William Casarin <jb55@jb55.com>
Date:   Thu,  4 Jul 2019 22:41:36 -0700

brighter is better

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

diff --git a/etc/shaders/pbr.glsl b/etc/shaders/pbr.glsl @@ -43,7 +43,7 @@ vec3 pbr(vec3 albedo, vec3 V, vec3 normal) { const float ao = 12.0; const float metallic = 0.6; const float roughness = 0.6; - vec3 radiance = sun_color * light_intensity * 2.0; + vec3 radiance = sun_color * light_intensity * 4.0; // radiance += texture(skybox, vec3(0.0, 0.0, 1.0)).rgb; vec3 N = normalize(normal); vec3 L = normalize(light_dir);