Jump to content


Photo

Testers and reviewers wanted: BFG-style vertex cache


  • Please log in to reply
322 replies to this topic

#226 lowenz

lowenz

    Advanced Member

  • Member
  • PipPipPip
  • 1886 posts

Posted 27 July 2018 - 05:38 AM

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.


#227 duzenko

duzenko

    Advanced Member

  • Active Developer
  • PipPipPip
  • 1635 posts

Posted 27 July 2018 - 07:17 AM

Let me know if you need some Intel iGPU testing.

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



#228 cabalistic

cabalistic

    Member

  • Development Role
  • PipPip
  • 379 posts

Posted 27 July 2018 - 09:34 AM

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



#229 stgatilov

stgatilov

    Lead Programmer

  • Active Developer
  • PipPipPip
  • 1032 posts

Posted 27 July 2018 - 11:40 AM

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.



#230 duzenko

duzenko

    Advanced Member

  • Active Developer
  • PipPipPip
  • 1635 posts

Posted 27 July 2018 - 12:48 PM

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

Attached Files



#231 nbohr1more

nbohr1more

    Darkmod PR, Wordsmith

  • Development Role
  • PipPipPipPipPip
  • 9000 posts

Posted 15 August 2018 - 09:12 PM

Update 10 is update:

 

https://www.moddb.co...tex-buffer-beta


  • Judith, RPGista and Anderson like this
Please visit TDM's IndieDB site and help promote the mod:

http://www.indiedb.c...ds/the-dark-mod

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

#232 lowenz

lowenz

    Advanced Member

  • Member
  • PipPipPip
  • 1886 posts

Posted 16 August 2018 - 07:11 AM

Thanks man!


  • nbohr1more likes this

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.


#233 Judith

Judith

    Advanced Member

  • Member
  • PipPipPip
  • 1606 posts

Posted 14 September 2018 - 05:53 AM

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, 14 September 2018 - 05:54 AM.


#234 duzenko

duzenko

    Advanced Member

  • Active Developer
  • PipPipPip
  • 1635 posts

Posted 14 September 2018 - 06:18 AM

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



#235 Judith

Judith

    Advanced Member

  • Member
  • PipPipPip
  • 1606 posts

Posted 14 September 2018 - 06:46 AM

Yup, by using r_gamma in the console. But the slider in game menu has range of 0-2.


  • duzenko likes this

#236 nbohr1more

nbohr1more

    Darkmod PR, Wordsmith

  • Development Role
  • PipPipPipPipPip
  • 9000 posts

Posted 26 September 2018 - 10:00 PM

Update 11 is up at Moddb:

 

https://www.moddb.co...tex-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.


  • Judith, HMart, RPGista and 1 other like this
Please visit TDM's IndieDB site and help promote the mod:

http://www.indiedb.c...ds/the-dark-mod

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

#237 duzenko

duzenko

    Advanced Member

  • Active Developer
  • PipPipPip
  • 1635 posts

Posted 27 September 2018 - 01:24 AM

The volumetric is not in svn yet. The glare material  has been postponed beyond 2.07.

"Stay tuned"



#238 Judith

Judith

    Advanced Member

  • Member
  • PipPipPip
  • 1606 posts

Posted 27 September 2018 - 01:46 AM

Downloading now.


Edited by Judith, 27 September 2018 - 03:42 AM.


#239 Judith

Judith

    Advanced Member

  • Member
  • PipPipPip
  • 1606 posts

Posted 27 September 2018 - 02:14 AM

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, 27 September 2018 - 03:45 AM.


#240 duzenko

duzenko

    Advanced Member

  • Active Developer
  • PipPipPip
  • 1635 posts

Posted 27 September 2018 - 06:24 AM

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.


  • Judith likes this

#241 lowenz

lowenz

    Advanced Member

  • Member
  • PipPipPip
  • 1886 posts

Posted 27 September 2018 - 06:40 AM

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, 27 September 2018 - 06:41 AM.

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.


#242 lowenz

lowenz

    Advanced Member

  • Member
  • PipPipPip
  • 1886 posts

Posted 27 September 2018 - 07:37 AM

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.


#243 lowenz

lowenz

    Advanced Member

  • Member
  • PipPipPip
  • 1886 posts

Posted 27 September 2018 - 07:51 AM

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, 27 September 2018 - 07:52 AM.

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.


#244 nbohr1more

nbohr1more

    Darkmod PR, Wordsmith

  • Development Role
  • PipPipPipPipPip
  • 9000 posts

Posted 27 September 2018 - 07:55 AM

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.c...ds/the-dark-mod

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

#245 HMart

HMart

    Advanced Member

  • Member
  • PipPipPip
  • 712 posts

Posted 27 September 2018 - 08:30 AM

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.microso...adow-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, 27 September 2018 - 09:02 AM.


#246 lowenz

lowenz

    Advanced Member

  • Member
  • PipPipPip
  • 1886 posts

Posted 27 September 2018 - 08:53 AM

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.


#247 Judith

Judith

    Advanced Member

  • Member
  • PipPipPip
  • 1606 posts

Posted 27 September 2018 - 08:57 AM

One minor thing, r_showShadows is busted again.



#248 lowenz

lowenz

    Advanced Member

  • Member
  • PipPipPip
  • 1886 posts

Posted 27 September 2018 - 09:04 AM

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, 27 September 2018 - 09:18 AM.

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.


#249 lowenz

lowenz

    Advanced Member

  • Member
  • PipPipPip
  • 1886 posts

Posted 27 September 2018 - 09:09 AM

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.


#250 nbohr1more

nbohr1more

    Darkmod PR, Wordsmith

  • Development Role
  • PipPipPipPipPip
  • 9000 posts

Posted 27 September 2018 - 10:21 AM

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.c...ds/the-dark-mod

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users