Jump to content
The Dark Mod Forums

Testers and reviewers wanted: BFG-style vertex cache


cabalistic

Recommended Posts

First thing I tried two years ago

It's only profiling DirectX on Windows !11

 

In the case above it turned out to be low stencil fillrate, which is an actual problem on Intel.

I can't help but want add an option to render shadows in half of main resolution.

Can't speak about two years ago, but the site currently explicitly lists OpenGL support for the frame analyzer, at least...

Link to comment
Share on other sites

or test the strange case where the system has multi-core and modern GL support but no fence sync

extension and see if com_smp offers any improvement in spite of the glFinish operations.

In case user system does not support the fence, the finish call is used. It is slow, but it works at least.

One possible use for the cvar is to make it easy for us to emulate such conditions on our GPUs which have fence support and normally will use it.

Link to comment
Share on other sites

  • 3 weeks later...
  • 4 weeks later...

Mapping using 2.07 / Update 10, everything seems to be working fine. Commands like reloadimages work properly. Loading times are fast, even with uncompressed TGA textures everywhere. I only have one suggestion when it comes to soft gamma, IMO value range should be wider. Right now it's 0-2, which was fine for the old gamma. With new gamma, everything is pretty dark, and what was 1.2 in the older system is more like 2.2 for the new one.

Edited by Judith
Link to comment
Share on other sites

Mapping using 2.07 / Update 10, everything seems to be working fine. Commands like reloadimages work properly. Loading times are fast, even with uncompressed TGA textures everywhere. I only have one suggestion when it comes to soft gamma, IMO value range should be wider. Right now it's 0-2, which was fine for the old gamma. With new gamma, everything is pretty dark, and what was 1.2 in the older system is more like 2.2 for the new one.

It should be capped at 10 (a recent change) . Did you try values higher than 2?

On the other hand we do need a bugtracker entry to get the brightness in 2.06 and 2.07 match

Link to comment
Share on other sites

  • 2 weeks later...

Update 11 is up at Moddb:

 

https://www.moddb.com/mods/the-dark-mod/downloads/tdm-206-vertex-buffer-beta

 

 

 

(Too changes many to remember!)

 

Grayman fixed a few AI pathfinding issues and door handling issues

 

Grayman added better support for security camera features

 

Sgtatilov fixed an issue with EFX ignoring mixed case location names

 

Duzenko added an experimental multi-light mode ( r_testARBProgram 2 )

(Requires that you enable shadow maps, r_shadows 2)

 

Duzenko implemented true "Contact Hardening" soft shadows in Shadow Map mode (r_shadows 2)

The softening appears to be scaled differently in this mode and the slider only goes to 5

so you'll want to use the console to crank it up for now: r_softShadowsRadius 10

 

Revelator added some more BFG multicore port code and added more rendertools fixes

 

Cabalistic fixed more light leak scenarios by changing the way shadow FBO is handled

 

Oh, yeah... Duzenko's soft gamma modes are available and the new volumetric lights, and glare shaders.

  • Like 4

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

Shit, is there a way to revert to update 10? I deleted my zip, and it's not on the moddb as well, all links lead to update 11.

 

And yet another edit: I managed to get the lights back, but the speculars are barely there, and shadows are pixelated. Reverting to 2.06 until I can get back to update 10.

 

Sorry for the panic, I created a separate folder for update 11 to see what's the problem. It seems the r_testARBProgram 2 weakens speculars a lot:

 

Before:

obraz.png

 

After:

obraz.png

Edited by Judith
Link to comment
Share on other sites

Shit, is there a way to revert to update 10? I deleted my zip, and it's not on the moddb as well, all links lead to update 11.

 

And yet another edit: I managed to get the lights back, but the speculars are barely there, and shadows are pixelated. Reverting to 2.06 until I can get back to update 10.

 

Sorry for the panic, I created a separate folder for update 11 to see what's the problem. It seems the r_testARBProgram 2 weakens speculars a lot:

 

Before:

 

 

After:

 

The multi-light shader does not do specular yet.

  • Like 1
Link to comment
Share on other sites

Some performance (NO experimental features / No MSAA) results in WS4 :)

 

i3 6300 + 1050 Ti

1050ti.png
i3 8300 + 750 Ti
750ti.png
Edited by lowenz

Task is not so much to see what no one has yet seen but to think what nobody has yet thought about that which everybody see. - E.S.

Link to comment
Share on other sites

Thanks.

 

Now let's see what performance you get with Contact Hardening Soft Shadows (Shadow Maps):

 

r_testARBPrograms 1

r_shadows 2 (shadow mapping)

r_softShadowsQuality 24 or greater

r_softShadowsRadius 11

r_shadowMapSize 1024 or greater

 

;)

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

Nice work guys but some things i saw on my first test.

on a AMD RX 570

Mission Volta and the stone 1

playing on a window not fullscreen.

The light gem seems to be always bright even when on total shadow!

Shadow maps work but they look very pixelated unless you use r_softShadowsRadius 10 but even so they still don't look the best they can be, right now TDM soft stencil shadows do look much better.

Shadows very near to the edge casting it shimmer like crazy, the efect is like a moving staircase going up and down, specially when using the player light.

This microsoft paper explain many of the things i saw https://docs.microsoft.com/en-us/windows/desktop/dxtecharts/common-techniques-to-improve-shadow-depth-maps

Some objects casting stencil shadows stop doing so when changing to shadow maps this doesn't seem right.

Performance seems to be high on shadow maps but perhaps it could be caused by the missing shadows above.

All Grass/plants, that i saw don't cast any shadow when using shadow maps, it must be the "noshadow" material keyword causing trouble. :(

This was mostly what caught my eye in this rapid test, will test better later.

But i'm happy with how this is going, is so good seeing you guys motivated to improve the engine and TDM further. :)

Thanks.

Now let's see what performance you get with Contact Hardening Soft Shadows (Shadow Maps):

r_testARBPrograms 1
r_shadows 2 (shadow mapping)
r_softShadowsQuality 24 or greater
r_softShadowsRadius 11
r_shadowMapSize 1024 or greater

;)


Wait a minute will test that and i will update this...

 

update: playing at 1080p

 

r_testARBPrograms 1
r_shadows 2
r_softShadowsQuality 32
r_softShadowsRadius 11
r_shadowMapSize 2048

 

Shadow maps look AWESOME :D

 

performance low has 26 fps in some views :(

 

Returning to r_shadows 1

 

Missing shadows are still missing!?

 

performance always at 60 fps (frame rate locked), it seems that for shadow maps to perform has good has soft stencil shadows they need to look worse, :( .

Edited by HMart
Link to comment
Share on other sites

Last entry, Soft Shadows + FBOresolution=2 (->SSAA 4x - no MSAA)

 

i3 6300 + 1050 Ti

The_Dark_Modx64_2018_09_27_14_46_29_449.

 

VS (same FBOresolution @2)

 

r_testARBPrograms 1

r_shadows 2

r_softShadowsQuality 24

r_softShadowsRadius 10

r_shadowMapSize 1024

 

1050.png

Edited by lowenz

Task is not so much to see what no one has yet seen but to think what nobody has yet thought about that which everybody see. - E.S.

Link to comment
Share on other sites

Thanks.

 

A few things you can experiment with regarding performance.

 

Try intermediate shadow map sized like 768, 1280, 1366, etc. (Ideally, power of two.)

 

There is a r_max... cvar that can define how large a shadow can be before it must toggle to Stencil Shadows.

You can try reducing that from 1000 to 500 or 250 (etc).

 

And, of course, try playing with the quality with non-standard r_softShadowsQuality values like 17, 26, etc. in the console.

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

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

    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
    • The Black Arrow

      Hope everyone has the blessing of undying motivation for "The Dark Mod 15th Anniversary Contest". Can't wait to see the many magnificent missions you all may have planned. Good luck, with an Ace!
      · 0 replies
×
×
  • Create New...