Questions tagged [deferred-rendering]
The deferred-rendering tag has no usage guidance.
23 questions
2
votes
0
answers
53
views
Optimal Command Ordering for CPU/GPU concurrency
I am writing a renderer that uses a deferred clustered shading technique.
On the CPU I group lights, decals, and environment maps into 3 seperate clustered structures (functionally, arrays of unsigned ...
1
vote
1
answer
73
views
Is fragment shader run on fragments that are outside of rasterized geometry?
In deferred rendering, I first write world position to G-Buffer, and then in shading part, I want to use that information to reproject in the previous frame and then write the final color.
However, ...
2
votes
0
answers
81
views
Deferred Decals
What's the proper of way of calculating the coords to apply decals by let's say linear interpolation?
My understanding is that you render your GBuffer albedo, specular, etc... and after that you do ...
12
votes
1
answer
9k
views
Performance of Compute Shaders vs. Fragment Shaders for Deferred Rendering
I have written a deferred renderer that can use either a fragment shader or a compute shader to execute the shading pass. Unfortunately, the compute shader implementation runs slower. I'm trying to ...
1
vote
0
answers
190
views
gBuffer view/eye space missing z (depth) value?
I need some help understanding whats happening to my view space.
I have the following colour buffers coming out of my deffered renderer...
My concern is with the view space buffer (third image), ...
1
vote
0
answers
28
views
Irregular subpixel behaviour using cached render textures
We are implementing a "lazy container" that caches renders of an object at various cutoffs and scales up/down the render-textures from those caches instead of drawing the actual object directly. This ...
1
vote
1
answer
173
views
Optimisation of Geometry Pass
I'm trying to optimize a geometry pass for a game using dx11 and deferred rendering. (All test are performed on Nvidia GTX 1060 at fixed clock rate)
After profiling with NSight it seems to have very ...
-1
votes
1
answer
158
views
Unsolved Problems in CQ to this day?
What problems haven't been solved yet when it comes for instance in rendering,deferred rendering, Volumetric lighting, ambient occlusion or in any other interesting area. When i say unsolved problems, ...
5
votes
0
answers
342
views
Why is Forward Rendering/Shading named this way?
Forward rendering is the 'classic' approach to the rendering pipeline.
Nowadays it is mostly replaced by a more flexible, deferred rendering approach.
I did some research and had trouble finding ...
2
votes
1
answer
971
views
GBuffer: Framebuffer with different texture format types?
I rely on this answer from Nathan Reed: How much precision do I need in my G-Buffer?
It is proposed to use two different texture formats for one Gbuffer.
However as far as I know, color texture ...
0
votes
1
answer
780
views
GLSL Debugging Volumetric light
I'm implementing basic volumetric lighting using deferred shading (gbuffer + render to screen quad) and basic shadow mapping. So, I am sending the position texture and shadow map to a separate shader,...
0
votes
1
answer
543
views
How to use shadow mapping and deferred rendering to create a large amount of lights?
Ok so I am trying to understand how to combine these 2 techniques and I am failing.
The main goal is to reach the O(lights+fragments) complexity of deferred rendering, instead of O(lights*fragments) ...
2
votes
2
answers
3k
views
Why is this not a proper solution to handling transparency in deferred rendering?
From the sources that I have read about deferred rendering they all mention "handling transparency is hard" without much more information.
However a solution that I see is, handle the scene once ...
3
votes
2
answers
138
views
Supporting multiple camera types in a deferred renderer without specializing the shaders or in the shaders
Perspective Camera
A (row-major) perspective transformation matrix has the following format:
$$\begin{align} \mathrm{T}
&= \begin{bmatrix}
\mathrm{T}_{00} &0 &0 &0 \\
0 &\...
6
votes
1
answer
2k
views
How much precision do I need in my G-Buffer?
I'm in the process of working out how to pack all the information I need for a Physically Based Deferred Renderer into a G-Buffer without using an obscene amount of render targets.
What I have so ...
3
votes
1
answer
186
views
Volumetric Obscurance : line integrals
I would like to compute volumetric obscurance with line integrals like described in this paper.
For a 2D sample, it is possible to know the "depth in sphere". But I don't understand how they compute ...
5
votes
2
answers
270
views
Special directional light type
I am currently trying to implement a specific directional light type.
This light type has been used in the game INSIDE and is called orthogonal spotlight (aka local directional light). I assume that ...
4
votes
2
answers
2k
views
Screenspace Normals - Creation, Normal Maps, and Unpacking
I'm trying to condense my Deferred Rendering G-Buffer. So I have some questions about getting 2-component Screenspace Normals. I know Frostbite and Killzone (the only two AAA company's G-Buffers I ...
6
votes
1
answer
381
views
Unlit objects in deferred rendering
What is the best way to draw unlit objects with deferred? Like skybox, particles or just glowing objects?
I thought about mask in alpha channel, check it in light pass and just set diffuse color but ...
2
votes
3
answers
242
views
Trouble Finding Simple 2D DirecX11/HLSL Issue
Some possible things that might be the issue and could be explained by someone who is knowledgeable
Order of my indices, In all I've read, your array of indices for a triangle list is just clockwise ...
7
votes
1
answer
1k
views
HLSL Deferred Rendering
I've recently made the switch to Visual 2015 and the .fx files have been depreciated. My project contained .fx files for the shaders so I've been switching over.
Only during the switch have I changed ...
11
votes
2
answers
701
views
With modern fillrates and deferred rendering, is occlussion culling still relevant?
For example, while it's the current top-of-the-line GPU, the GTX 980 has a staggering 72.1 gigapixels/second fillrate, which with back-to-front rendering and/or Z buffer checks, seems almost ...
13
votes
1
answer
4k
views
What is the performance tradeoff between forward and deferred rendering?
Forward rendering is the process of computing a radiance value for a surface fragment directly from input geometry and lighting information. Deferred rendering splits that process into two steps: ...