Jump to content

Talk:Deferred shading

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Deferred shading in commercial games/engines

[edit]

It looks like people want that section to become a complete list of games using deferred shading, which was not its original intent. If things go on like that, it should be either replaced with a shorter mention of a couple (documented) instances of games implementing said technology, or moved to its own List of games using deferred shading, which I'm not sure is the way to go. Otherwise, the section will end being longer than the article, seeing how all recent changes have focused in that section, instead of improving the quality of the article itself.Elideb (talk) 18:28, 7 February 2011 (UTC)[reply]

How would we decide which games to remove from/keep in the list, then? DaBOXEN (talk) 01:35, 8 November 2023 (UTC)[reply]
I think it could be pretty objectively based on the quality of the content of the references.
For example, the reference for Black Mesa is a whole white paper worth of text, going into detail about what they did and why, supported by roundabout 50 images and 10 videos.
The BioShock Infinite reference is 2/10 paragraphs of a one-page article, 3 sentences in total, mentioning THAT they used it. 85.144.95.212 (talk) 20:07, 13 August 2024 (UTC)[reply]

Antialiasing

[edit]

There is a lot of talk in the disadvantages section about antialiasing techniques. But at no time are there links to what they are or why they alleviate any of the issues that deferred rendering brings to the table. Korval (talk) 02:31, 15 October 2011 (UTC)[reply]

Don't know about links, but explanation is simple - many of this techniques basically are post-process effects. You give it render target (which is just a colors of the pixels) with your current frame and it's smoothes it with clever filters. MLAA (developed by intel), FXAA (developed by nvidia), DLAA (developed by Lucas Arts) - they all work like that, they don't need normals, depth or any other information, just colors of the pixels. So you can use it with any type of the rendering technique, because it's only needs final frame. You can even implement them in the video drivers like AMD did with MLAA.
SRAA (developed by nvidia) is a little different - it's post-process filter, but it can use supersampled depth and/or normals to reduce some artefacts and restore sub-pixel information (main disadvantage of other filters, like MLAA, FXAA, DLAA - sub-pixel aliasing). It organically fits with deferred techniques - you have render targets with scene normals and depth by default, you just need to supersample them.
Temporal anti-aliasing - the simplest of all. Basically, you blend previous frame (frames) with your current frame. That's why it can produce "ghosting" when camera moves rapidly - the difference between frames is big.
Post MSAA (developed by crytek) - combination of two techniques. For far away objects we are using Temporal AA - AA quality is good, we can restore some sub-pixel information with it and "ghosting" reduced because of the distance. For close object we are using custom "edge-detect+blur" algorithm.Cre-ker (talk) 20:52, 18 October 2011 (UTC)[reply]
I've added links.Cre-ker (talk) 10:37, 7 November 2011 (UTC)[reply]

Star Craft II seems to use Deferred Shading

[edit]

Looking at the cited source, it seems that Star Craft II is using full Deferred Shading and not Deferred Lightning. Can somebody confirm that or add another source that shows it's in fact just Deferred Lightning? — Preceding unsigned comment added by 134.96.220.28 (talk) 14:39, 9 July 2012 (UTC)[reply]

Changed source to a more reliable one.Cre-ker (talk) 17:47, 9 July 2012 (UTC)[reply]


i noticed this effect appear first on the market in splinter cell for the original xbox. Since then game graphics carried on to the 7th gen havent changed much except in detail. Should anyone maybe make a reference to that particular game? — Preceding unsigned comment added by 76.100.60.164 (talk) 06:59, 3 February 2013 (UTC)[reply]

[edit]

Hello fellow Wikipedians,

I have just added archive links to 2 external links on Deferred shading. Please take a moment to review my edit. You may add {{cbignore}} after the link to keep me from modifying it, if I keep adding bad data, but formatting bugs should be reported instead. Alternatively, you can add {{nobots|deny=InternetArchiveBot}} to keep me off the page altogether, but should be used as a last resort. I made the following changes:

When you have finished reviewing my changes, please set the checked parameter below to true or failed to let others know (documentation at {{Sourcecheck}}).

This message was posted before February 2018. After February 2018, "External links modified" talk page sections are no longer generated or monitored by InternetArchiveBot. No special action is required regarding these talk page notices, other than regular verification using the archive tool instructions below. Editors have permission to delete these "External links modified" talk page sections if they want to de-clutter talk pages, but see the RfC before doing mass systematic removals. This message is updated dynamically through the template {{source check}} (last update: 5 June 2024).

  • If you have discovered URLs which were erroneously considered dead by the bot, you can report them with this tool.
  • If you found an error with any archives or the URLs themselves, you can fix them with this tool.

Cheers.—cyberbot IITalk to my owner:Online 02:17, 29 March 2016 (UTC)[reply]

Deferred Lighting

[edit]

The description in the section marked doesn't make a lot of sense, or is poorly explained. There is only a single introductory reference.

For example the problems start with "On first pass over the scene geometry, only the attributes necessary to compute per-pixel lighting (irradiance) are written to the G-Buffer" - this doesn't make sense - a pass over scene geometry does not generate irradiance/lighting data - that's would be generated from lightsources/ (maybe a shadow pass)

Non of the rest of section makes much or any sense at all.83.100.174.82 (talk) —Preceding undated comment added 10:22, 12 August 2016 (UTC)[reply]

The linked article itself gives useful definitions: https://www.realtimerendering.com/blog/deferred-lighting-approaches/

Deferred shading
  1. Render opaque scene geometry, writing normal vector, diffuse color, specular color, and specular spread factor into a deep frame buffer or G-Buffer. ...
  2. Apply the effects of light sources by rendering 2D or 3D shapes covering each light’s area of effect ... Non-local light sources such as the Sun are applied in full-screen passes. When rendering each “light shape”, evaluate the shading equation for that light, reading the G-Buffer channels as textures. Accumulate the results of the shading equation into the accumulation buffer, using additive blending. The depth-buffer from phase #1 is typically used to find the world- or view-space position of each shaded point. This position is used to compute light distance attenuation and to lookup any shadow maps.
  3. Render any semitransparent geometry using non-deferred shading.
Deferred lighting
  1. Render opaque scene geometry, writing normal vector n and specular spread factor m into a buffer. This “n/m buffer” is similar to a G-Buffer but contains less information. The values fit into a single output color buffer, so MRT support is not needed.
  2. Render “light shapes”, evaluating diffuse and specular shading equations and writing the results into separate specular and diffuse accumulation buffers. This can be done in a single pass (using MRT), or in two separate passes. Environment and ambient lighting can be accumulated in this phase with a full-screen pass.
  3. Render opaque scene geometry a second time, reading the diffuse and specular accumulation buffers from textures, modulating them with the diffuse and specular colors and writing the end result into the final color buffer. If not accumulated in the previous phase, environment and ambient lighting are applied in this phase.
  4. Render any semitransparent geometry using non-deferred shading.

The current text is garbage/gibberish in comparison to this much clearer explanation.83.100.174.82 (talk)

[edit]

Hello fellow Wikipedians,

I have just modified 4 external links on Deferred shading. Please take a moment to review my edit. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit this simple FaQ for additional information. I made the following changes:

When you have finished reviewing my changes, please set the checked parameter below to true or failed to let others know (documentation at {{Sourcecheck}}).

This message was posted before February 2018. After February 2018, "External links modified" talk page sections are no longer generated or monitored by InternetArchiveBot. No special action is required regarding these talk page notices, other than regular verification using the archive tool instructions below. Editors have permission to delete these "External links modified" talk page sections if they want to de-clutter talk pages, but see the RfC before doing mass systematic removals. This message is updated dynamically through the template {{source check}} (last update: 5 June 2024).

  • If you have discovered URLs which were erroneously considered dead by the bot, you can report them with this tool.
  • If you found an error with any archives or the URLs themselves, you can fix them with this tool.

Cheers.—InternetArchiveBot (Report bug) 05:43, 10 December 2016 (UTC)[reply]

[edit]

Hello fellow Wikipedians,

I have just modified 4 external links on Deferred shading. Please take a moment to review my edit. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit this simple FaQ for additional information. I made the following changes:

When you have finished reviewing my changes, you may follow the instructions on the template below to fix any issues with the URLs.

This message was posted before February 2018. After February 2018, "External links modified" talk page sections are no longer generated or monitored by InternetArchiveBot. No special action is required regarding these talk page notices, other than regular verification using the archive tool instructions below. Editors have permission to delete these "External links modified" talk page sections if they want to de-clutter talk pages, but see the RfC before doing mass systematic removals. This message is updated dynamically through the template {{source check}} (last update: 5 June 2024).

  • If you have discovered URLs which were erroneously considered dead by the bot, you can report them with this tool.
  • If you found an error with any archives or the URLs themselves, you can fix them with this tool.

Cheers.—InternetArchiveBot (Report bug) 02:16, 8 September 2017 (UTC)[reply]