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 ...
27
votes
2answers
2k 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?
11
votes
2answers
1k views
Is Deferred Rendering The Future?
Is deferred rendering the future of real-time 3d rendering on pc hardware (at least until raytracing becomes feasible)? I'm aware of the benefits (lots of lights, less state changes) and also trouble ...
10
votes
2answers
856 views
Projective texture and deferred lighting
In my previous question, I asked whether it is possible to do projective texturing with deferred lighting. Now (more than half a year later) I have a problem with my implementation of the same thing. ...
8
votes
2answers
932 views
Dual paraboloid point light shadows in deferred lighting setup
I've been playing around with this tutorial/sample code that demonstrates a simple implementation of light-pre-pass, which is a type of deferred lighting setup.
I'm in the process of implementing ...
8
votes
1answer
130 views
Deferred decals normal problem
I've been working on a deferred decal system. So far I have finished the projection part, meaning I can click something in the scene and it will properly project a decal onto the surface of the ...
7
votes
3answers
785 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 ...
6
votes
1answer
930 views
Not getting desired results with SSAO implementation
After having implemented deferred rendering, I tried my luck with a SSAO implementation using this Tutorial. Unfortunately, I'm not getting anything that looks like SSAO, you can see my result below.
...
6
votes
1answer
286 views
How do I reconstruct depth in deferred rendering using an orthographic projection?
I've been trying to get my world space position of my pixel but I'm missing something.
I'm using a orthographic view for a 2.5d game. My depth is linear and this is my code.
float3 lightPos = ...
4
votes
1answer
166 views
deferred rendering and point light radius
I use a common attenuation equation for point lights:
attenuation = 1 / kc + kl * d + kq * d^2.
I use deferred rendering so I need to know a light radius. An example light has following intensity: ...
4
votes
2answers
501 views
Deferred lighting and projective texturing?
Is posible to use this technique with deferred lighting?
4
votes
1answer
138 views
Deferred contexts and inheriting state from the immediate context
I took my first stab at using deferred contexts in DirectX 11 today. Basically, I created my deferred context using CreateDeferredContext() and then drew a simple triangle strip with it.
Early on in ...
3
votes
2answers
511 views
How to deal with large depth buffer values due to extreme distances
Alright, this is semi-related to my last question here
So I've got an really big coordinate system and need to handle rendering large astral bodies from extreme distances. My current approach ...
3
votes
1answer
183 views
how to organize rendering
I use a deferred rendering. During g-buffer stage my rendering loop for a sponza model (obj format) looks like this:
int i = 0;
int sum = 0;
map<string, mtlItem *>::const_iterator itrEnd = ...
3
votes
1answer
698 views
Deferred Rendering and Normal Mapping
I'm working on a deferred renderer and need a bit of help getting normal maps working.
What I've been doing with them so far is just multiplying the normal texture with the object normals ...
3
votes
1answer
1k 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 ...