mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-08 18:02:13 +02:00
Fixing lighting again
This commit is contained in:
parent
b3aeaba5f4
commit
0401672c82
1 changed files with 1 additions and 1 deletions
|
@ -599,7 +599,7 @@ void DeferredLightingEffect::render(RenderArgs* args) {
|
|||
} else {
|
||||
Transform model;
|
||||
model.setTranslation(glm::vec3(light->getPosition().x, light->getPosition().y, light->getPosition().z));
|
||||
batch.setModelTransform(model);
|
||||
batch.setModelTransform(model.postScale(expandedRadius));
|
||||
batch._glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
|
||||
geometryCache->renderSphere(batch);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue