Questions tagged [deferred-rendering]
The name for a class of rendering technique where geometry and material properties are explicitly separated from the lighting computations. This is done by rendering the material properties of various objects into several buffers, and then using passes over those "g-buffers" to do lighting computations, a screen-full at a time. This technique uses lots of bandwidth, but can be a strong optimization in situations with lots of lights.
9
questions
56
votes
3answers
25k views
What is deferred rendering?
I've heard about deferred rendering and how using it can allow for "lots" of lights in a scene without a huge performance hit, but what is it and (from a high level) how is it implemented?
16
votes
2answers
12k views
What are the common rendering optimization techniques for the geometry pass in a deferred shading renderer? [closed]
I have been developing a game engine using OpenGL 3 and C++ (and glfw for window management). I have advanced so far, got most of the things done except sound entities and optimizations. The engine ...
18
votes
1answer
7k views
Game Engine Design – Ubershader - Shader management design [closed]
I want to implement a flexible Ubershader system, with deferred shading. My current idea is to create shaders out of modules, which deal with certain features, such as FlatTexture, BumpTexture, ...
12
votes
2answers
4k views
Deferred tiled shading, tile frusta calculation in OpenGL
I'm trying to do deferred tiled shading in OpenGL using the compute shader but I have hit a snag when trying to create the frustum for each tile. I'm using AMD's Forward+ demo (written in D3D) as a ...
9
votes
3answers
4k views
Deferred shading - how to combine multiple lights?
I'm starting out with GLSL and I've implemented simple deferred shading that outputs G-buffer with positions, normals and albedo.
I've also written a simple point light shader.
Now I draw a sphere ...
4
votes
1answer
5k views
Why can't I write to my render targets?
Alright, been working on setting up my first deferred rendering attempt using a light prepass technique in Direct3D 11.
Anywho, I've been having problems understanding and using render targets. Never ...
5
votes
3answers
1k views
How to skip the sky in lighting shaders?
I recently implemented a sky in my deferred rendered game. It is a procedurally calculated sphere with a texture applied to it. Unfortunately all lighting shaders (light sources, ambient occlusion) ...
6
votes
2answers
669 views
Deferred lighting and projective texturing?
Is posible to use this technique with deferred lighting?
1
vote
1answer
617 views
Using two FBOs results in the second FBO having nothing drawn to [closed]
I'm writing a deferred renderer, and I use two FBOs: the first one for G-buffer (color, normal, depth) and the second one for lighting (light output), so the first one has three textures bound and the ...