Deferred shading continued... (different topic)
#1
Posted 12 March 2008 - 10:17 PM
It has come to my attention that all (maybe not all) UE3 games use deferred shading by default. Maybe it's a conincedence, but the games also have an unbelivable amount of visual depth to them. There's something about Unreal Engine that makes the scenery and characters blend so well together and just have a terrific use of lighting and shadows to create unmatched visual depth. This is comparing to things like the Source engine that, while they look good, look a bit flat and polygonal.
So my question is with this is, could deferred shading be responsible for the high depth in the visuals? I was thinking that maybe deferred shading would allow for more contrasts of light and dark, which I think is one way to increase depth. Even games like Crysis (that use forward rendering) look a bit flat in their visuals, even though realistic.
I personally just think that depth can actually provide more immersion than realism in a lot of cases, so that's what I am leaning towards.
Btw, sorry if this is posted too close together with my last one, but I felt that this was more of a different subject.
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.
bunny also wants to fight spam: Click Here Bots!
#2
Posted 12 March 2008 - 11:11 PM
Anyway if you wan't more depth in the scene - use stereoscopic rendering (also nightmare for DS, for FS it's pretty not-so-hard) and I presonally like pictures from CryEngine 2 much more, than screens from UE3.
#3
Posted 12 March 2008 - 11:17 PM
Vilem Otte said:
isn't that Voxels? To me those are just totally impractical (at least for todays hardware). Anyway, in my mind DS might provide more depth because it has the abilillity to blend lighting together better than FS.
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.
bunny also wants to fight spam: Click Here Bots!
#4
Posted 13 March 2008 - 12:10 AM
But Vilem, why would stereoscopic rendering be any more difficult with deferred shading? That doesn't make sense to me at all.
#5
Posted 13 March 2008 - 02:33 AM
Reedbeta said:
lol, oh I don't know... maybe it's because I typed it in on google and I saw the word Voxel appear about a hundered times.
That's an interesting thought though. I would highly doubt Unreal uses anything like that, but I'll look into it more. Or... actually, I guess you need some kind of special display device? I guess my main question still stands though: could deferred shading be influencing the amount of depth in the graphics?
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.
bunny also wants to fight spam: Click Here Bots!
#6
Posted 13 March 2008 - 03:22 AM
#7
Posted 13 March 2008 - 04:25 AM
Just look at the difference between (Bioshock, MOH: Airborne) -
http://img.qj.net/up...qjpreviewth.jpg
http://problematisk....oh_thompson.jpg
http://steamreview.o..._fairground.jpg
and (half life, portal) -
http://www.whatisthe...al_Screen02.jpg
http://www.games32.c...es/md_20917.jpg
maybe it's a matter of opinion to an extent, but to me it just looks like the Unreal based games are going to jump right out at you. It's like there's little people inside your moniter lol.
With the Source games it just really looks drawn on the screen, fine detailing, but a weak sense of depth.
I mean honestly, it's tough to put it into words, but it's almost like the Unreal games give this feeling like you could actually reach inside your screen and there's a whole nother world in there. Another thing is that screenshots never realy do Unreal justice. It focuses on dynamics and screenshots can't really depict that.
lol, taken out of context, this sounds like I'm on some major drugs.
EDIT: Actually, here's a better example in video:
http://www.gametrail...ayer/24506.html (MOH)
http://www.gametrail...ayer/12966.html (ep2)
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.
bunny also wants to fight spam: Click Here Bots!
#8
Posted 13 March 2008 - 04:51 AM
So I think from the examples you've posted that what you're seeing is more a difference in the art direction of those games rather than a difference in the technical capabilities of the engine.
However, it might be that the reason the Unreal ones have more dramatic lighting is because deferred shading makes that engine better able to handle darkish scenes with lots of small lights, and less well able to handle outdoor or well-lit scenes. So it might come back to the technology, but it's hard to say.
Part of this might also be that the Unreal engine is maybe doing a better job of HDR than the Source engine. But I can't really be sure of that either.
#9
Posted 13 March 2008 - 06:59 AM
#10
Posted 13 March 2008 - 02:19 PM
JarkkoL said:
man.... that whole paragraph just has me skeptical. Then maybe you could answer -
- Why is it I havent seen a UE3 game yet with AA?
- How is it that every company that buys UE3 has the exact same artists with the exact same talents?
- When you go on to Unreal Technology, Anti-alias is not supported or mentioned whatsoever?
I'm not asking these sarcasticly, but sincerley... that just seems like a bit too much of a coincedence.
EDIT: In fact, I'm really not sure which part of that to correct first:
"UE3 doesn't use deferred shading." - I just learned that according to them, that is the default system.
" relies largely on pre-computed lighting to vertices and lightmaps" - the entire basis of Unreal is fully dynamic lighting environments
"I'm talking about the off-the-shelf UE3" - I seriously hope you don't litterally mean "off the shelf"... as in you buy it at a store
"they just got great artists" - in fact, it looks as though epic just lends every company their artists during production ;)
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.
bunny also wants to fight spam: Click Here Bots!
#11
Posted 13 March 2008 - 03:17 PM
Forward rendering:
Left eye buffer - 1024*768*64 = 50331648 bits
Right eye buffer - 1024*768*64 = 50331648 bits
Final LDR Backbuffer - 1024*768*32 = 25165824 bits
Memory usage - 125829120 bits = cca 15 MB
Deferred rendering:
(Well, you don't have to create everything in HDR buffers, but u can use LDR ... but you'd lose some quality)
Diffuse geometry buffer - 1024*768*64 = 50331648 bits
Specular + shininess geometry buffer - 1024*768*64 = 50331648 bits
Normal + depth geometry buffer - 1024*768*64 = 50331648 bits
and everything twice times! plus
Final LDR Backbuffer - 1024*768*32 = 25165824 bits
Memory usage - 327155712 bits = cca 39 MB
Well, that's not so much, when comparing - but today it's modern to use big monitors (F.e. 1920 x 1080) and very high precision HDR (128 bits) ... so geometry buffers are growing. And between us - generating 40 MB of data isn't so easy at 75 fps on todays hardware (well, as long as you have something in scene). Anyway I hope my calculations were OK and I didn't make some big mistake ... if am I wrong, please let me know, and I'll correct that.
#12
Posted 13 March 2008 - 05:04 PM
JarkkoL said:
From the link said:
Rendering Technologies
Deferred rendering and deferred shading
Vilem Otte:
Its unfair to say DS is an overkill, it has its strengths and weaknesses. DS does eat up your fillrate but sending geometry once to the GPU allows more unique vertices to be sent (higher detail models.)
Stereoscopic rendering is a special case and does not represent normal circumstances. In both cases of using DS and standard forward rendering stereoscopic rendering will half frame rate (i.e. 60 fps for both eyes becomes 30 fps to each eye.) I see no reason why the memory requirements for stereoscopic DS have to double as buffers can be reused. The only case where the same buffers would not be able to be used for both frames (one for each eye) would be where the frames were rendered simultaneously. However, rendering the two frames simultaneously would not gain any benefit as GPU's are stream processors, not threaded.
#13
Posted 13 March 2008 - 05:29 PM
Diffuse + specular: 1024*768*32
Normal + extra 8-bit channel: 1024*768*32
Depth + stencil: 1024*768*32
As you see with this layout there is an extra 8-bit channel available in the second buffer which you can use for an additional parameter to your shading model, which gets you back some of the flexibility you lost from getting rid of the three-component specular (e.g. you could blend the specular color between white and the material color, which is the range that most specular colors fall in anyways).
Also you forgot to count the depth/stencil buffers when you tallied up for forward shading but you put it in for deferred shading. But you also forgot to count the HDR accumulation buffers for deferred shading.
Anyways, I don't think it's necessary to tally up the numbers again, as it's clear deferred shading consumes a bunch more memory than forward shading. I think the point you were trying to make is that it's hard enough to generate one image at a reasonable framerate with deferred shading due to its memory bandwidth requirements, so it's really hard to generate two. I'll buy that.
#14
Posted 13 March 2008 - 07:47 PM
starstutter said:
starstutter said:
starstutter said:
starstutter said:
Reedbeta said:
edit: fixed quote bug :)
#15
Posted 13 March 2008 - 09:17 PM
Quote
Well, as JarkkoL mentioned, diffuse textures will result in artefacts on the screen (and they can be masked though ;-)). Anyway I'm personally using HDR diffuse maps, and I want no artefacts on the screen -> so I have to use HDR diffuse geometry buffer (well, I can try masking 'em). To specular and normal buffers - I agree, it's wasting of fillrate (but I tried just several times on Radeon HD 2900 XT, so there wasn't problem with fillrate ;-)) - I'm much more interested in realtime-raytracing topic (and combined rendering).
Quote
I'm not using stencil buffer in my demos, but I forgot depth buffer (sorry about that mistake, I'm really sclerosal sometimes :-().
Quote
Well, that was the point (I hope that most of you got it ... I'm not so good for explaining :-(, I have to work on myself) - deferred shading eats more bandwidth with lower cost of light computation and forward shading eats less bandwidth with bigger cost of light computation.
Quote
Stereoscopic rendering is a special case and does not represent normal circumstances. In both cases of using DS and standard forward rendering stereoscopic rendering will half frame rate (i.e. 60 fps for both eyes becomes 30 fps to each eye.) I see no reason why the memory requirements for stereoscopic DS have to double as buffers can be reused. The only case where the same buffers would not be able to be used for both frames (one for each eye) would be where the frames were rendered simultaneously. However, rendering the two frames simultaneously would not gain any benefit as GPU's are stream processors, not threaded.
Yeah, it's maybe unfair, but it WAS overkill several years ago. Today it isn't anymore, because new graphics cards are faster, better, etc. Stereoscopic rendering is special case, and I'm using it in most demos (posting images without stereo, because not-everyone has stereo glasses).
#16
Posted 13 March 2008 - 09:34 PM
GamePro said:
Ken Levine said:
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.
bunny also wants to fight spam: Click Here Bots!
#17
Posted 14 March 2008 - 06:54 AM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












