History

Fix the lighting when the rear view mirror is showing up

Sam Gateau committed 11 years ago

Commit b207d971 parent 5eef0e22 files · +17 −9Browse files

Showing the changes to libraries/render-utils/src/DeferredLightingEffect.cpp (1 of 2 files). Show all

Unified · Split

libraries/render-utils/src/DeferredLightingEffect.cpp+1−0
@@ -582,6 +582,7 @@ void DeferredLightingEffect::render(RenderArgs* args) { · 581 unmodified lines
582582 batch.setResourceTexture(1, nullptr);
583583 batch.setResourceTexture(2, nullptr);
584584 batch.setResourceTexture(3, nullptr);
585+ batch.setUniformBuffer(_directionalLightLocations->deferredTransformBuffer, nullptr);
585586
586587 args->_context->render(batch);
587588

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t