Jump to content
The Dark Mod Forums

General 2.07 Feedback


SuaveSteve

Recommended Posts

Thought we'd have a thread where everyone can chime in on this release since there doesn't seem to be an official thread.

 

Wow, guys. The performance is phenomenal. Was how occlusion culling works changed? I seem to be able to noclip all over the place without the FPS dipping much.

 

As for the shadow maps, I notice that they can end up very different in some spots:

 

Stencil: https://my.mixtape.moe/efdfbb.jpg

Maps: https://my.mixtape.moe/paqqmb.jpg

 

Stencil: https://my.mixtape.moe/pmznnc.jpg

Maps: https://my.mixtape.moe/wiyrij.jpg

 

Is the idea that maps will replace stencils?

 

With shadow maps, will larger more open spaces in missions be more feasible now?

 

How is anti-aliasing done now? Still rendering at higher resolution and scaling down?

 

Anyway, well done. The game feels so much more smooth now and this release seems very impressive.

  • Like 2
Link to comment
Share on other sites

Wow, guys. The performance is phenomenal. Was how occlusion culling works changed? I seem to be able to noclip all over the place without the FPS dipping much.

 

 

To my knowledge, occlusion hasn't been directly changed but visibility calcs have been optimized with AVX math.

 

Regarding noclip, we also made a code change so that when you go outside the map only the ambient world renders.

It makes noclip a much more viable tool for examining maps in-game.

 

How is anti-aliasing done now? Still rendering at higher resolution and scaling down?

 

We now create Frame Buffer Objects with MSAA attributes so native MSAA works as expected.

 

Is the idea that maps will replace stencils?

 

If we cannot solve contact hardening shadows and some of the performance gulfs inherent to Stencil Shadows, then

we will probably just drop them like the rest of the industry has (including the father of Quarternion math in game rendering, Eric Lengyel...).

 

As for the shadow maps, I notice that they can end up very different in some spots:

 

For areas where shadow maps have resolution artifacts, there are two workarounds:

 

1) Increase r_shadowMapSize

 

2) Decrease r_maxShadowMapLight so that smaller lights are forced to use Stencil Shadows.

 

 

Anyway, well done. The game feels so much more smooth now and this release seems very impressive.

 

 

Glad to see things have improved. You can thank Cabalistic, Stgatilov, and Duzenko for most of these improvements.

(I mostly did minor things, like fixing some render tools.)

  • Like 3

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Link to comment
Share on other sites

As for the shadow maps, I notice that they can end up very different in some spots:

That's inevitable for a completely different principle.

I'm very surprised that both implementations behave so similar to each other.

 

Is the idea that maps will replace stencils?

I guess no one can answer yet

Probably they will both be used (e.g. now stencil shadows are used in Maps case sometimes).

 

With shadow maps, will larger more open spaces in missions be more feasible now?

No.

At least current shadow mapping technique is unsuitable for large spaces. Stencil shadows do better.

 

Link to comment
Share on other sites

Yeah, I was mentioning this a few days ago. Im not a tech guy at all, and I have no actual understanding of the real work that went into the engine these past few versions, though I did follow the tackling of the big issues here in the forums with interest. I decided to catch up when my new laptop arrived and I was blown away by the culmination of the graphic improvements, the optimizations, the renderer overhauls... Those soft shadows are really sexy, the whole thing feels better. I know that there some other features being worked on that are also exciting, like volumetric lights for example. And above everything, it feels good to know that the game is being updated and is very much alive in the technical department. That to me seems very important, to be able to meet the expectations of newer generations of players and contributors. Terrific work by the guys, for sure.

Edited by RPGista
Link to comment
Share on other sites

Stencil shadows will not work with no backface. Apparently shadow maps work differently.

 

Unless that's been changed, I just noticed the bed in a map has a shadow under it.

EDIT: I see, it's because someone has added a shadow texture to the bottom of the bed, so I was right lol.

 

EDIT 2: Yup

 

Stencil Shadows: jRgJoHV.png

 

Shadowmaps: bJI8oL5.png

I always assumed I'd taste like boot leather.

 

Link to comment
Share on other sites

I didn't think I'd see my merchant ship within a harbour at 60 fps, but 2.07 made it happen (formerly 40 fps). Thank you for the excellent work.

  • Like 1
Link to comment
Share on other sites

No.

At least current shadow mapping technique is unsuitable for large spaces. Stencil shadows do better.

 

AFAIK shadows aren't the main problem with the open spaces - it's the LOD system?

 

 

I didn't think I'd see my merchant ship within a harbour at 60 fps, but 2.07 made it happen (formerly 40 fps). Thank you for the excellent work.

Well it could have been 60 back then with some optimization effort.

Link to comment
Share on other sites

From HHI:

 

post-37993-0-89768600-1551436331_thumb.jpg

 

 

Can move the mouse everywhere I want under 2.07 - always receive 60 fps in this particular place.

 

I hereby award the guy(s) responsible for this with the new title "Premium Professional". This title cannot be delegated. :)

 

Thanks again for this!

Edited by JackFarmer
  • Like 3
Link to comment
Share on other sites

:blink: It looks like Thief 2 in terms of complexity. Did you use LOD for models/shadows, and func_portal to control visportals better?

There's a lot of stuff occluded by those walls in the middle. It's a very big room (I did suggest to rework the architecture but I guess the author spent too much time on it already)

Link to comment
Share on other sites

  • 3 weeks later...

Hey I've got a question pertaining to something I've only noticed with 2.07, not sure if it's always been like this but I think it has.

 

Usually, you can easily overwrite materials in your FM. For an example, let's say the mod has a textures/cobblestone material, you can make your own image maps and in your own myfm/materials/my_mats.mtr file you can define textures/cobblestone with an updated specular/diffuse, what have you. I have done this before without a problem.

 

On 2.07 however I've noticed that when loading the FM, the material will still look like the default one. In my real case, to leave the example aside, I've updated a material's diffuse map and it visibly stays the default. Only when I type ReloadDecls in the console do all the surfaces in the game update to the custom diffuse map for the material.

 

Does any dev know of something in 2.07 that might've caused this? Should I file a report? Like I said, I'm not sure but I'm fairly certain ReloadDecls was not needed in previous versions of TDM.

  • Like 1

My FMs: The King of Diamonds (2016) | Visit my Mapbook thread sometimes! | Read my tutorial on Image-Based Lighting Workflows for TDM!

 

 

Link to comment
Share on other sites

Hey I've got a question pertaining to something I've only noticed with 2.07, not sure if it's always been like this but I think it has.

 

Usually, you can easily overwrite materials in your FM. For an example, let's say the mod has a textures/cobblestone material, you can make your own image maps and in your own myfm/materials/my_mats.mtr file you can define textures/cobblestone with an updated specular/diffuse, what have you. I have done this before without a problem.

 

On 2.07 however I've noticed that when loading the FM, the material will still look like the default one. In my real case, to leave the example aside, I've updated a material's diffuse map and it visibly stays the default. Only when I type ReloadDecls in the console do all the surfaces in the game update to the custom diffuse map for the material.

 

Does any dev know of something in 2.07 that might've caused this? Should I file a report? Like I said, I'm not sure but I'm fairly certain ReloadDecls was not needed in previous versions of TDM.

 

By the way. Does this happen in the 2.07 Hotfix beta?

 

I've made some noise about this issue in the dev forums since I consider this to be a core functionality.

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Link to comment
Share on other sites

I have been away for a while and I must say that the new shadows are awesome!

 

But - is it ok that maps cause massive FPS drop for me, unlike stencil shadows? Do I get it right that maps' shadows are intended to be more good-looking than stencil? I play on gtx750.

How we speak depends on how we keep silent.

Link to comment
Share on other sites

Shadow maps use GPU resources more, while stencil shadows use CPU resources more. In both cases, when utilization goes up to 100%, the framerate goes down. Biggest culprits for GPU use are postprocessing, high resolution (both shadowmap and game), AA, and soft shadow quality in particular. On systems with modern CPUs stencil shadows seem to be better solution as shadow maps can bring down even some current mid-range cards, like gtx 1060.

Edited by Judith
  • Like 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recent Status Updates

    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 1 reply
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
    • OrbWeaver

      I like the new frob highlight but it would nice if it was less "flickery" while moving over objects (especially barred metal doors).
      · 4 replies
    • nbohr1more

      Please vote in the 15th Anniversary Contest Theme Poll
       
      · 0 replies
×
×
  • Create New...