History

Improving the design of the Jobs and varying

Sam Gateau committed 11 years ago

Commit 9be87751 parent fb5738e8 files · +310 −127Browse files

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

Unified · Split

libraries/render-utils/src/DeferredLightingEffect.cpp+2−2
@@ -191,7 +191,7 @@ void DeferredLightingEffect::addSpotLight(const glm::vec3& position, float radiu · 190 unmodified lines
191191 }
192192 }
193193
194−void DeferredLightingEffect::prepare() {
194+void DeferredLightingEffect::prepare(RenderArgs* args) {
195195 // clear the normal and specular buffers
196196 auto textureCache = DependencyManager::get<TextureCache>();
197197 textureCache->setPrimaryDrawBuffers(false, true, false);
@@ -205,7 +205,7 @@ void DeferredLightingEffect::prepare() { · 7 unmodified lines
205205 textureCache->setPrimaryDrawBuffers(true, false, false);
206206 }
207207
208−void DeferredLightingEffect::render() {
208+void DeferredLightingEffect::render(RenderArgs* args) {
209209 // perform deferred lighting, rendering to free fbo
210210 glDisable(GL_BLEND);
211211 glDisable(GL_LIGHTING);

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