Bigger light extend wrt energy.
This commit is contained in:
@@ -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.);
|
||||
|
||||
Reference in New Issue
Block a user