Questions tagged [deferred-rendering]

a screen-space shading technique that defers shading until the second pass of rendering

In the field of 3D computer graphics, deferred shading is a screen-space shading technique. It is called deferred because no shading is actually performed in the first pass of the vertex and pixel shaders: instead shading is "deferred" until a second pass.

It is used in numerous popular games starting around 2010.

Advantages: easier resource and pipeline management

Disadvantages: hard to handle transparency, multiple materials, incompatible with anti-aliasing

Wikipedia: https://en.wikipedia.org/wiki/Deferred_shading

142 questions
2
votes
1 answer

(ExtJS 4.2.2) Can't get tab that wasn't been active

I have container items: [{ xtype: 'container', layout: 'card', flex: 1, itemId: 'tab-container', deferredRender: false, items: [ { xtype: 'panel', …
2
votes
1 answer

Tiled deferred shading without compute shader

I'm building a deferred renderer and since I want to support a large amount of lights in the scene I've had a look at tiled deferred shading. The problem is that I have to target OpenGL 3.3 hardware and it doesn't support GLSL compute shaders. Is…
zeb
  • 1,105
  • 2
  • 9
  • 32
2
votes
1 answer

Combine SSAO with global light and local lights

I have recently implemented SSAO in my engine(deferred shading), but I am very insecure of how I should combine SSAO with global light and local lights(point light). Should I do this: //Global light pass. vec3 sceneColor = DiffuseBRDF +…
karl88
  • 341
  • 2
  • 13
2
votes
1 answer

Setting a SCNTechnique stops SCNSceneRendererDelegate

When I set a SCNTechnique to my SCNView, my SCNSceneRendererDelegate stops to work. Are there any workarounds? I want to execute some code before and after scene rendering. I've tried to reset the delegate, but It doesn't help. Thank you!
2
votes
1 answer

Defered rendering : Problems when passing Render Targets as Shader Resource Views to shader

I'm implementing deferred rendering/shading for the very first time I ran into some problems which I'm having trouble to solve on my own :/. When rendering the geometry pass and deferred pass together I get this wierd looking output I'm using a…
SvinSimpe
  • 850
  • 1
  • 12
  • 28
2
votes
1 answer

Deferred Rendering Skybox OpenGL

I've just implemented deferred rendering and am having trouble getting my skybox working. I try rendering my skybox at the very end of my rendering loop and all I get is a black screen. Here's the rendering loop: //binds the fbo …
theonewhoknocks
  • 203
  • 2
  • 8
2
votes
1 answer

Shadow mapping with a deferred rendering

I am trying to implement a shadow mapping technique and I have some problems to make it works. I have a camera in the light's position and this is the shadow map I get. All the vertex have been multiplied by each modelViewProjectionMatrix. I also…
MikeFadeCrew
  • 107
  • 2
  • 11
2
votes
0 answers

Defer rendering of web pages in mobile device

Wile I was reading This article I came to a point called Defer Rendering. What I understood from this is that I can comment the part of the html page that is at first not visible to the user, and load it after 5 second using a script. I have a page…
Vikram Anand Bhushan
  • 4,836
  • 15
  • 68
  • 130
2
votes
0 answers

How can I access the default depth buffer from a fragment shader?

I am going to port DirectX code to OpenGL and need to choose the right OpenGL version. What I want to do might not even be possible according to what I already read online. As I understand it (I might be wrong though), I can use the default depth…
lochotzke
  • 181
  • 1
  • 4
2
votes
0 answers

Defferred result in empty JSP page empty page loading (Spring MVC 3.2.3.RELEASE + tomcat 7)

hi I'm writing a webapplication using servelet-api 3.0.1 with the async request processing. Basically I use spring mvc controller, and Request mapping where I return an ModelAndView as deffered result. My controller looks as…
Isuru
  • 7,893
  • 8
  • 30
  • 38
2
votes
3 answers

Google PageSpeed Conflicting Suggestions

When it comes to loading CSS, Google PageSpeed has conflicting recommendations. On the one hand, it tells us to load all CSS in the head: https://developers.google.com/speed/pagespeed/service/MoveCSSToHead?csw=1 On the other hand it tells us to only…
Bhagwad Jal Park
  • 1,093
  • 1
  • 13
  • 22
2
votes
0 answers

Profiling JOGL with Java VisualVM

I am working on an OpenGL 3D renderer. I am using Java and the JOGL API. Right now I am trying to performance tweak my deferred renderer. For this, I am using the VisualVM Profiler, in order to see what's eating up my precious CPU cycles, and also…
Andrei Bârsan
  • 3,473
  • 2
  • 22
  • 46
2
votes
1 answer

Shadow map projection in deferred rendering (OpenGL 3.3)

I have a working G-buffer (color, normal, depth) and for each spot light, I have the depth map from the light's point of view. The problem is in the lighting map phase, I can't get it to work. Could you point out what's the problem here? Here's my…
manabreak
  • 5,415
  • 7
  • 39
  • 96
2
votes
1 answer

Pre-Pass Lighting OpenGL implementation artifact

I am implementing Pre-Pass Lighting algorithm in OpenGL for my master dissertation project, after implementing a Deferred renderer as well. The Deferred renderer works perfectly and I based the implementation of PPL on it. I got a very weird…
2
votes
0 answers

Irradiance Volumes vs. Tiled Deferred Shading

I have a renderer in DirectX 11 that uses deferred shading and tiled light culling on the compute shader. I can run 1024-2048 point lights with a steady framerate of 30-35 FPS. I however do not have global illumination.Are irradiance volumes (used…
user1779802
  • 125
  • 3
1 2
3
9 10