Dungeons are HW demanding - Dungeon light shadows

Discuss Daggerfall Unity and Daggerfall Tools for Unity.
User avatar
Jay_H
Posts: 1757
Joined: Tue Aug 25, 2015 1:54 am

Re: Dungeons are HW demanding - Dungeon light shadows

Post by Jay_H » Thu Jan 03, 2019 4:33 am

Yeah, Realtime Reflections has been a big resource drain since it was first made :lol: I can't run most of these mods to begin with!
Try over 140 all-new quests in the first Daggerfall Unity Quest Pack.

User avatar
ByteMixer
Posts: 63
Joined: Sun Mar 25, 2018 4:43 am
Contact:

Re: Dungeons are HW demanding - Dungeon light shadows

Post by ByteMixer » Thu Jan 03, 2019 4:55 am

Update 3:

Direnni tower:

I stand at the pillar in the middle of the room and look straight up: I get about 40 fps. If I go to a corner in the room and look towards the top of the pillar, i get about 34 or 35 fps. However, if I look about half way up the pillar (towards the farthest corner of the room) I get about 25 or 26fps.

So, maybe there is some sort of optimization issue with rendering things behind other objects, even though they're not actually being drawn on screen? I don't think (at least in my case) it has anything to do with the dungeon lighting. It seems more an issue of rendering things in the distance even if they're behind walls and doors.

Again at wayrest castle: Looking at the door entry, I'm seeing about 12% CPU usage. I turn around and look towards the far end of the dungeon, and it's 45% CPU usage. So I'm guessing the game is using CPU to calculate locations of everything in the dungeon? Light sources, objects, room layout, etc. Even if they aren't actually being drawn on screen at the time?

GPU utilzation is about 23% looking at the door. about 30% looking toward the throne room in the castle. So I don't think this is as much a GPU issue as it is a CPU issue.

And I am by no means a guru on this stuff. I don't know anything about the nuts and bolts of how Daggerfall calculates everything within a dungeon space, or if there is a root cause for the increased CPU usage when looking in the direction of the far end of the dungeon. Is this a symptom of the pre-rendered pseudo-procedural dungeons? Or is there something that needs an optimization pass? That's over my head, and way above my pay grade, haha!

I hope my observations help, though!
"Whatever you do, make good art." - Neil Gaiman

User avatar
ByteMixer
Posts: 63
Joined: Sun Mar 25, 2018 4:43 am
Contact:

Re: Dungeons are HW demanding - Dungeon light shadows

Post by ByteMixer » Thu Jan 03, 2019 5:07 am

Oh, and just a thought, but FWIW, without mods, I think I'd see near what Interkarma sees in Direnni Tower. Looking at the pillar and toward the ceiling, I'd probably get close to 60fps unmodded. But it's still about 15 or 20fps drop compared to looking toward the closest edge of the dungeon vs. the far end of the dungeon.

If you stand in the exact center of the dungeon, you'd probably have the same fps no matter where you point the "camera"

Outside, in a city or town, or wherever, I get a constant 75 fps, or about 70fps when moving or panning the camera around.
"Whatever you do, make good art." - Neil Gaiman

User avatar
King of Worms
Posts: 928
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow
Contact:

Re: Dungeons are HW demanding - Dungeon light shadows

Post by King of Worms » Wed Jan 09, 2019 10:23 am

Yes thats how it is, I hope it can get sorted out.
And J, its not realtime reflections we talk about :) More like realtime shadows..

Anyway, its a fact that dungeons are the most hardwared demanding part of DFU, would be nice if it could be considered and optimized in a future.
Last edited by King of Worms on Wed Jan 09, 2019 1:20 pm, edited 1 time in total.

User avatar
Jay_H
Posts: 1757
Joined: Tue Aug 25, 2015 1:54 am

Re: Dungeons are HW demanding - Dungeon light shadows

Post by Jay_H » Wed Jan 09, 2019 1:08 pm

King of Worms wrote:
Wed Jan 09, 2019 10:23 am
And J, its not realtime reflections we talk about :) More like realtime shadows..
Reading! I love it! :D Thanks KOW.
Try over 140 all-new quests in the first Daggerfall Unity Quest Pack.

Narf the Mouse
Posts: 604
Joined: Mon Nov 30, 2015 6:32 pm

Re: Dungeons are HW demanding - Dungeon light shadows

Post by Narf the Mouse » Wed Jan 09, 2019 11:20 pm

Interiors are very demanding in general. I get 100% GPU usage in the Mage's Guild in Chesterwark with Realtime Reflections, and ~80% without.
Previous experience tells me it's very easy to misunderstand the tone, intent, or meaning of what I've posted. If you have questions, ask.

Post Reply