1. Forums
  2. Discord
  3. About Mapcore
  4. Patreon Supporters
  • Login
  • Register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • More Options
  1. Mapcore
  2. Discussions
  3. Off-Topic

Deferred Shading pros / cons

  • Defrag
  • October 20, 2006 at 1:49 AM
  • Defrag
    • October 20, 2006 at 1:49 AM
    • #1

    I'm thinking of doing my final year honours project on deferred shading. It's a technology degree (I'm a programmer, allegedly!), so the focus would probably be something along the lines of how deferred shading can be used, what the pros and cons are and whether it is well-suited to current or next generation games. I'd implement a bunch of deferred shading demos and probably contrast them to forward-rendering in a variety of scenarios, then evaluate the technique and how it fits into real-world games.

    As I understand it, deferred shading has only really become a possibility with recent graphics cards (geforce 6 onwards) due to branching in shaders (so you can have a wider array of material types as opposed to being stuck with a few) and the prohibitive fill rate demands. As games include more complex lighting models that require multiple passes, deferred shading will probably get more popular since it scales better as lighting compexity increases, plus it has a perfect success rate when it comes to rendering only pixels that are visible. I know it breaks AA and alpha-blending, but you kinda solve the former using an edge blur shader (not as good, but I guess it's ok?) and the latter just by rendering the alpha-blended surfaces using the forward renderer as a separate case.

    I'm just reading around the issue right now as we have to decide on a project soon. I was initially set on trying to splice distinctly different scene management strategies (like mixing BSP, portals and octrees to allow a wide-ranging environment in a seamless fashion) but ultimately I don't think I have the technical skills to accomplish that task or, even if I did manage it, I'd probably get bogged down in writing / altering editors, compilers, rendering apps and other things that were necessary, but ultimately on the periphery of what I was trying to achieve (prove a concept).

    So basically I'm interested in whether any of you guys have worked on a game or engine that used or was using deferred shading. The reason I say "used" is that I've heard quite a few titles tried it and ditched it because older hardware didn't give satisfactory results. If so, what were your experiences of it in terms of flexibility and how did it stack up against traditional forward rendering? I say this with regard to both technical and artistic angles.

    Any thoughts (that you can give me outwith NDA stuff etc) on the subject would be great, cheers. I think this is probably a good topic to tackle as I can't find any consensus on whether deferred shading is or will be a good option to use and there seems to be a lot of debate on certain sites regarding whether engines like Unreal 3 are using deferred shading for specific parts of their rendering code. No consensus makes for a good topic, ja?

  • Squirrelly
    • October 20, 2006 at 4:38 AM
    • #2

    What's deferred shading?

  • Defrag
    • October 20, 2006 at 5:04 AM
    • #3

    I'll try and summarise :

    Basically, instead of rendering your geometry in a traditional sense, you instead write out the attributes sans-lighting (position, diffuse colour, normals, depth, any other parameters you need like spec, spec power etc.) to a so-called g-buffer (basically into graphics card memory as a series of render targets [dynamic textures]), then you do the shading as a post process (hence the name, deferred shading). It results in a reduction in rendering cost in terms of reducing the amount of passes it takes to do complicated effects, plus it means you get the added bonus of efficient perfect pixel rasterisation. Using deferred shading, you don't get any wasted effort rendering expensive operations to an area of the screen only for an object to cover the same area later on. It also scales very well for multiple lights on multiple surfaces, but I don't yet undertand how the actual lighting calculations work when using it, so I can't go into that.

    http://www.talula.demon.co.uk/DeferredShading.pdf explains it pretty well.

  • e-freak
    • October 20, 2006 at 1:02 PM
    • #4

    If i understood right this is something like a raytracebox?

    like it

  • Sindwiller
    • October 20, 2006 at 8:23 PM
    • #5
    Quote from e-freak

    If i understood right this is something like a raytracebox?like it

    No, it isn't one.

  • BlackPanther
    • October 20, 2006 at 10:57 PM
    • #6

    hey if it looks pretty, go for it

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!

Register Yourself Login
Discord

The Mapcore Discord is our lively IRC channel of the 2000s reborn. Chat about level design, gaming, and more.

Latest Posts

  1. Tangerine

    Harry Poster
    July 18, 2026 at 11:10 AM
  2. Any of the old guard still around? D:

    Warby
    July 12, 2026 at 8:23 PM
  3. About our archived forums

    Thrik
    June 30, 2026 at 2:12 PM
  4. Mapcore Discord

    mason_fan123
    June 24, 2026 at 8:52 PM
  5. [CS2] Valley

    Serialmapper
    June 22, 2026 at 11:56 AM
  6. Free Music / SFX Resource - Over 2500 Tracks

    Eric Matyas
    June 18, 2026 at 12:32 PM
  7. Pango [WIP]

    Elowen
    June 11, 2026 at 10:13 AM
  8. [CS2] Dvina

    Jeremy Rivera
    June 11, 2026 at 10:03 AM
  9. Bridges 2.0 by NEXSIDE, MAP SHOWCASE. ( Steam Workshop )

    MrTrane18
    June 1, 2026 at 7:46 PM
  10. Classic Maps Reborn For CS2

    SillySpaceCat
    May 31, 2026 at 10:33 PM
  1. Privacy Policy
  2. Contact
Powered by WoltLab Suite™