Fix the horrible occlusion culling and increase performance?

Post » Mon May 28, 2012 8:42 pm

Is there any way to fix the terrible occlusion culling in this game? I see there's a middleware plugin made by Umbra Software. It would help since the CPU doesn't have to draw everything behind buildings including shadows which is a real performance killer. Any programmers here know if this can be modded into the game?

I don't know why Bethesda couldn't do GPU based shadows, damn incompetent management...
User avatar
Mimi BC
 
Posts: 3282
Joined: Sat Oct 07, 2006 10:30 pm

Post » Tue May 29, 2012 8:27 am

Shadows are drawn on the GPU. They're just pretty taxing.

Also, there's no effective automatic culling in the engine, it's all editor based. So unless you've specifically put an occlusion plane in from within the editor, nothing much really happens.
User avatar
cosmo valerga
 
Posts: 3477
Joined: Sat Oct 13, 2007 10:21 am

Post » Tue May 29, 2012 8:38 am

I see. So this CAN be fixed with a mod? I imagine rebuilding the occlusion planes with the Creation Kit.

Also I seriously doubt this game is that taxing on the GPU with shadows. I rarely see more than 60% load. It's very CPU limited.
User avatar
Roddy
 
Posts: 3564
Joined: Fri Jun 15, 2007 11:50 pm

Post » Mon May 28, 2012 5:28 pm

I see. So this CAN be fixed with a mod? I imagine rebuilding the occlusion planes with the Creation Kit.

Also I seriously doubt this game is that taxing on the GPU with shadows. I rarely see more than 60% load. It's very CPU limited.

I'm really curious to get a straight and accurate answer regarding how shadows are rendered in Skyrim. If they are drawn on the GPU as a previous poster states, then why do we get such CPU performance increases when shadows settings are altered, especially distance? Considering consoles have great CPUs but bad GPUs, it makes sense Bethesda would take their REALLY OLD engine, and add shadows that use CPU more than GPU to render and draw. That's why the slightest CPU overlock on PC makes the game run so much better when shadws are set high.

Also, I have noticed that Skyrim frequently uses two cores of my quad core CPU to over 90% while my GTX 470 is at 99% load. Skyrim taxes the hell out of my GPU and its memory. The max dedicated video memory I've seen Skyrim use on my GTX 470 is 1140MB. My GPU only has 1280MB. What's even wierder is when I overclock my clock speed & memory spped on my GPU, I still get GPU usage at 99%. Does anyone really know how shadows are rendered in this game?
User avatar
Lucky Boy
 
Posts: 3378
Joined: Wed Jun 06, 2007 6:26 pm

Post » Tue May 29, 2012 1:33 am

I'm really curious to get a straight and accurate answer regarding how shadows are rendered in Skyrim. If they are drawn on the GPU as a previous poster states, then why do we get such CPU performance increases when shadows settings are altered, especially distance? Considering consoles have great CPUs but bad GPUs, it makes sense Bethesda would take their REALLY OLD engine, and add shadows that use CPU more than GPU to render and draw. That's why the slightest CPU overlock on PC makes the game run so much better when shadws are set high.

Also, I have noticed that Skyrim frequently uses two cores of my quad core CPU to over 90% while my GTX 470 is at 99% load. Skyrim taxes the hell out of my GPU and its memory. The max dedicated video memory I've seen Skyrim use on my GTX 470 is 1140MB. My GPU only has 1280MB. What's even wierder is when I overclock my clock speed & memory spped on my GPU, I still get GPU usage at 99%. Does anyone really know how shadows are rendered in this game?
Considering scene complexity and the scale of the shadow maps involved, generating shadow maps on a CPU is insanity on both console and PC hardware. Intel's http://software.intel.com/en-us/articles/onloaded-shadows-moving-shadow-map-generation-from-the-gpu-to-the-cpu/ could pull off about one low-res shadow map layer per 0.2 seconds with one Intel i7 fully dedicated to the task, and the code was still leaving close-up shadow maps to the GPU.

The GPU's there for a reason -- CPUs do not have arrays of friggin' huge SIMDs and hardware rasterization/buffer ops/thread management to throw at the task. Might make sense to let the SPEs do the final deferred shadow mask step + blur on the PS3, though. The task seems like a decent fit for them.

As you may have noticed, the engine is insanely poorly optimized for PC hardware and if SkyBoost is any indication, the engine is spending about 10-20 times the CPU time it should on some trivial things like dot products. Little things like that get invoked on the CPU a lot when preparing to render objects; messing with the shadow distance is likely making the game take forever figuring out what to render into the shadow map since there's more objects within shadow range to process.
User avatar
Robert Devlin
 
Posts: 3521
Joined: Mon Jul 23, 2007 2:19 pm

Post » Tue May 29, 2012 8:20 am

I'm really curious to get a straight and accurate answer regarding how shadows are rendered in Skyrim. If they are drawn on the GPU as a previous poster states, then why do we get such CPU performance increases when shadows settings are altered, especially distance? Considering consoles have great CPUs but bad GPUs, it makes sense Bethesda would take their REALLY OLD engine, and add shadows that use CPU more than GPU to render and draw. That's why the slightest CPU overlock on PC makes the game run so much better when shadws are set high.

Also, I have noticed that Skyrim frequently uses two cores of my quad core CPU to over 90% while my GTX 470 is at 99% load. Skyrim taxes the hell out of my GPU and its memory. The max dedicated video memory I've seen Skyrim use on my GTX 470 is 1140MB. My GPU only has 1280MB. What's even wierder is when I overclock my clock speed & memory spped on my GPU, I still get GPU usage at 99%. Does anyone really know how shadows are rendered in this game?

What is your shadow setting in the launcher? High or Ultra?
User avatar
carley moss
 
Posts: 3331
Joined: Tue Jun 20, 2006 5:05 pm


Return to V - Skyrim