Bigger light extend wrt energy.

This commit is contained in:
Vincent Lejeune 2014-04-07 22:20:43 +02:00
parent 939e574cd8
commit eb0dfb4530

View File

@ -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.);