History

working version with the gpu::SAmpler and the gpu::Framebuffer

Sam Gateau committed 11 years ago

Commit 87030231 parent c34c5f611 files · +286 −116Browse files

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

Unified · Split

libraries/render-utils/src/DeferredLightingEffect.cpp+1−1
@@ -253,7 +253,7 @@ void DeferredLightingEffect::render() { · 252 unmodified lines
253253 program->bind();
254254 }
255255 program->setUniformValue(locations->shadowScale,
256− 1.0f / textureCache->getShadowFramebufferObject()->width());
256+ 1.0f / textureCache->getShadowFramebuffer()->getWidth());
257257
258258 } else {
259259 if (_ambientLightMode > -1) {

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