Jump to content
The Dark Mod Forums
Sign in to follow this  
cabalistic

Testers and reviewers wanted: BFG-style vertex cache

Recommended Posts

750 Ti vs HD 630:

 

750_Ti.jpg
HD_630.jpg

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.

Share this post


Link to post
Share on other sites

Let me know if you need some Intel iGPU testing.

Try the staircase in Old Habits2 or wine cellar in StAlban Caduceus.


Amnesty for Bikerdude!

Share this post


Link to post
Share on other sites

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...

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

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

post-3508-0-96644800-1532713774_thumb.png


Amnesty for Bikerdude!

Share this post


Link to post
Share on other sites

Thanks man!

  • Like 1

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.

Share this post


Link to post
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.

Edited by Judith

Share this post


Link to post
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


Amnesty for Bikerdude!

Share this post


Link to post
Share on other sites

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...)

Share this post


Link to post
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

Share this post


Link to post
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

Amnesty for Bikerdude!

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

And WITH Soft Shadows + MSAA 4x :)

 

i3 6300 + 1050 Ti

1050.png

 

i3 8300 + 750 Ti

750.png

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.

Share this post


Link to post
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.

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.

Share this post


Link to post
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...)

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

r_softShadowsRadius 11 ? Not 10?


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.

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

And a FBOresolution-based comparison with all the rest cranked up:

 

FBOresolution 2

The_Dark_Modx64_2018_09_27_15_58_18_373.

 

FBOresolution 1

The_Dark_Modx64_2018_09_27_15_58_58_890.


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.

Share this post


Link to post
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...)

Share this post


Link to post
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.

Sign in to follow this  

×
×
  • Create New...