Tigher fit of light extent

This commit is contained in:
Vincent Lejeune 2014-04-27 18:04:39 +02:00
parent 2ee7f7a2e8
commit 9ac57c3919

View File

@ -16,7 +16,7 @@ const float zNear = 1.;
void main(void)
{
// Beyond that value, light is too attenuated
float r = 500 * Energy;
float r = 100 * Energy;
center = Position;
energy = Energy;
vec4 Center = ViewMatrix * vec4(Position, 1.);