From eb0dfb4530765bc55767ffe74dcc74ba660a111d Mon Sep 17 00:00:00 2001 From: Vincent Lejeune Date: Mon, 7 Apr 2014 22:20:43 +0200 Subject: [PATCH] Bigger light extend wrt energy. --- data/shaders/pointlight.vert | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/shaders/pointlight.vert b/data/shaders/pointlight.vert index b859620c8..1831d4559 100644 --- a/data/shaders/pointlight.vert +++ b/data/shaders/pointlight.vert @@ -16,7 +16,7 @@ const float zNear = 1.; void main(void) { // Beyond that value, light is too attenuated - float r = 50 * Energy; + float r = 500 * Energy; center = Position; energy = Energy; vec4 Center = ViewMatrix * vec4(Position, 1.);