Showing the changes to interface/src/renderer/DeferredLightingEffect.cpp (1 of 1 file). Show all
Unified · Split
| @@ -268,7 +268,7 @@ void DeferredLightingEffect::render() { · 267 unmodified lines | ||
| 268 | 268 | |
| 269 | 269 | } else { |
| 270 | 270 | glTranslatef(light.position.x, light.position.y, light.position.z); |
| 271 | − Application::getInstance()->getGeometryCache()->renderSphere(expandedRadius, 32, 32); | |
| 271 | + Application::getInstance()->getGeometryCache()->renderSphere(expandedRadius, 64, 64); | |
| 272 | 272 | } |
| 273 | 273 | |
| 274 | 274 | glPopMatrix(); |
| @@ -321,7 +321,7 @@ void DeferredLightingEffect::render() { · 46 unmodified lines | ||
| 321 | 321 | glRotatef(glm::degrees(glm::angle(spotRotation)), axis.x, axis.y, axis.z); |
| 322 | 322 | glTranslatef(0.0f, 0.0f, -light.radius * (1.0f + SCALE_EXPANSION * 0.5f)); |
| 323 | 323 | Application::getInstance()->getGeometryCache()->renderCone(expandedRadius * glm::tan(light.cutoff), |
| 324 | − expandedRadius, 32, 8); | |
| 324 | + expandedRadius, 64, 32); | |
| 325 | 325 | } |
| 326 | 326 | |
| 327 | 327 | glPopMatrix(); |