From: John Tsiombikas Date: Sun, 7 Aug 2016 04:47:08 +0000 (+0300) Subject: light direction from almost straight up is better for the chrome letter bevels X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=vrfileman;a=commitdiff_plain;h=7fc25c7fbedb213be9470e4848e02e470be97fde light direction from almost straight up is better for the chrome letter bevels --- diff --git a/sdr/dfont.p.glsl b/sdr/dfont.p.glsl index cf60f27..0d4ef4d 100644 --- a/sdr/dfont.p.glsl +++ b/sdr/dfont.p.glsl @@ -37,7 +37,7 @@ void main() vec3 color = mix(color_low, color_high, step(0.5, t)); // --- bevel gradients --- - float bv_shade = mod(1.0 * dot(grad, normalize(vec2(1.0, 1.0))) * 0.5 + 0.5, 1.0); + float bv_shade = mod(1.0 * dot(grad, normalize(vec2(0.1, 1.0))) * 0.5 + 0.5, 1.0); gradcurves(1.0 - bv_shade, c_over, c_under); vec3 bv_col = vec3(c_under, c_under, c_over);