Showing the changes to libraries/render-utils/src/DeferredLightingEffect.cpp (1 of 8 files). Show all
Unified · Split
| @@ -650,7 +650,6 @@ void DeferredLightingEffect::render(RenderArgs* args) { · 649 unmodified lines | |||
| 650 | } | 650 | } |
| 651 | } | 651 | } |
| 652 | 652 | ||
| 653 | |||
| 654 | void DeferredLightingEffect::setupTransparent(RenderArgs* args, int lightBufferUnit) { | 653 | void DeferredLightingEffect::setupTransparent(RenderArgs* args, int lightBufferUnit) { |
| 655 | auto globalLight = _allocatedLights[_globalLights.front()]; | 654 | auto globalLight = _allocatedLights[_globalLights.front()]; |
| 656 | args->_batch->setUniformBuffer(lightBufferUnit, globalLight->getSchemaBuffer()); | 655 | args->_batch->setUniformBuffer(lightBufferUnit, globalLight->getSchemaBuffer()); |