Fixed attenuation for lights.

This commit is contained in:
Tleety
2014-05-11 00:02:34 +02:00
parent c1c30b0019
commit 22d855a521
8 changed files with 50 additions and 31 deletions
+3 -1
View File
@@ -39,7 +39,9 @@ void Systems::RenderSystem::UpdateEntity(double dt, EntityID entity, EntityID pa
pointLightComponent->Specular,
pointLightComponent->Diffuse,
pointLightComponent->specularExponent,
pointLightComponent->Scale
pointLightComponent->ConstantAttenuation,
pointLightComponent->LinearAttenuation,
pointLightComponent->QuadraticAttenuation
);
}