Jump to content
The Dark Mod Forums

Testers and reviewers wanted: BFG-style vertex cache


cabalistic

Recommended Posts

I also don't see shadow maps for alpha materials, but i assume that is caused by material keywords like noshadow, backSided, DECAL_MACRO and twosided that disables shadow casting.

 

Also that shadow mapping softness at the distance is because duzenko implemented "Contact Hardening" shadows, the closer to the object, the shadow is, the harder it gets! :D sounds dirty ;p

Edited by HMart
Link to comment
Share on other sites

The most recent SVN (executable and shaders):

---------- R_ReloadGLSLPrograms_f -----------
interaction VF
ambientInteraction VF
stencilShadow VF
shadowMap VGWARNING:shaderCompileFromFile(glprogs/shadowMap.gs) validation


FWARNING:shaderCompileFromFile(glprogs/shadowMap.fs) validation
0:7(1): error: #version 150 required for using interface blocks
0:7(1): error: interface blocks with an instance name are not allowed in GLSL 1
.30 (GLSL 1.50 or GLSL ES 3.00 required)



oldStage VF
depthAlpha VF
fog VF
blend VF
cubeMap VF

Can you try using a core profile GL context? It allows a more recent GLSL version on Intel (on my system).

  • Like 1
Link to comment
Share on other sites

The most recent SVN (executable and shaders):

---------- R_ReloadGLSLPrograms_f -----------
interaction VF
ambientInteraction VF
stencilShadow VF
shadowMap VGWARNING:shaderCompileFromFile(glprogs/shadowMap.gs) validation


FWARNING:shaderCompileFromFile(glprogs/shadowMap.fs) validation
0:7(1): error: #version 150 required for using interface blocks
0:7(1): error: interface blocks with an instance name are not allowed in GLSL 1
.30 (GLSL 1.50 or GLSL ES 3.00 required)



oldStage VF
depthAlpha VF
fog VF
blend VF
cubeMap VF

Can you try using a core profile GL context? It allows a more recent GLSL version on Intel (on my system).

Regret not in TDM 2.07.

Try forcing r_useGLSL 1 in game console.

  • Like 1
Link to comment
Share on other sites

Update 12 is here:

 

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

 

* A new texture atlas system for Shadow Maps significantly improves resolution management and LOD

* Improved Softening for Shadow Maps

* Almost all shadow acne has been solved and the remaining artifacts are very minimal.

 

 

Note: The softening has improved to the point that you can lower r_softShadowsQuality to 14 or lower and still

have very smooth shadow transitions in most cases.

  • 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

Update 12 is here:

 

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

 

* A new texture atlas system for Shadow Maps significantly improves resolution management and LOD

* Improved Softening for Shadow Maps

* Almost all shadow acne has been solved and the remaining artifacts are very minimal.

 

 

Note: The softening has improved to the point that you can lower r_softShadowsQuality to 14 or lower and still

have very smooth shadow transitions in most cases.

Give us the values! :D

 

r_shadows 2

r_softShadowsQuality *****

r_softShadowsRadius *****

r_shadowMapSize *****

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

Give us the values! :D

 

r_shadows 2

r_softShadowsQuality *****

r_softShadowsRadius *****

r_shadowMapSize *****

 

r_shadows 2

r_softShadowsQuality 14 or 16

r_softShadowsRadius 6

r_shadowMapSize 1024 or 1440

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

Performance JUMP!

 

r_softShadowsQuality 16

r_softShadowsRadius 6

r_shadowMapSize 1024

 

SoftStencil: 48 FPS

image.jpg
ShadowMaps: 55 FPS ( BUT WHY THE WEAPON DISAPPEARS? :D )
image.jpg
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

VideoRAM increased and CPU usage too.

But a nice jump of 7-8 FPS in that scene! (15%)

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

2.06 has hybrid vanilla and BFG code, with mostly vanilla code and dhewm changes.

 

2.07 will move closer to BFG.

 

We are picking and choosing the features we like from various Doom 3 (and BFG) branches and integrating them

along with our own code design changes.

  • 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

  • 2 weeks later...

Update 14 is here:

 

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

 

post-3763-0-70980400-1539923634_thumb.jpg

 

post-3763-0-66171300-1539926371_thumb.jpg

 

post-3763-0-03351300-1539928204_thumb.jpg

 

 

Some major upheaval and improvement took place since the last update.

 

Soft Shadows now use a substantially improved PCSS calculation courtesy of stgatilov

 

Also, there is always a minimum amount of softening as a way to obscure aliasing artifacts

at the low resolution bounds of the shadow map.

 

In short, shadows are more physically correct, better looking, and almost all aliasing artifacts are

hidden.

 

Also, tentative work has been done to setup per light-entity light center size attributes so different lights can have different amounts of softening.

 

For the shadow map softness, the slider will no longer work as the override is now a negative number.

 

Recommended settings:

 

r_shadows = 2

r_testARBProgram = 1

r_softShadowsRadius = -0.65 or 1

r_shadowMapSize = 1024 or 1440

r_softShadowsQuality = 24 or greater

 

Note: You can even go lower on the Shadow Map size due to the new minimum shadow softening feature. Give it a try.

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

Awesome final result! NOW there are no more contact artifacts!

 

 

 

Beautiful tomb-shadowed relic projecting its own shadow on the tomb @the end :D

 

(Do shadows are clustered-calculated or per-object/mesh?)

Edited by lowenz
  • 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.

Link to comment
Share on other sites

The ones you posted above.

 

r_shadows = 2

r_testARBProgram = 1

r_softShadowsRadius = -0.65

r_shadowMapSize = 1024

r_softShadowsQuality = 24

 

 

r_softShadowsRadius is a negative number?

 

Btw i installed duzenko latest volumetric test shaders and exe and shadow maps started working...

Edited by HMart
  • Like 1
Link to comment
Share on other sites

 

I don't know how to do that. Do i just delete the shaders folder?

 

C:\Users\%userprofile%\AppData\Local\AMD\DxCache

is where cache data is supposed to reside, from a little googling. Similar path for nvidia

but it's under AppData\local\Temp\Nvidia...

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

C:\Users\%userprofile%\AppData\Local\AMD\DxCache

is where cache data is supposed to reside, from a little googling. Similar path for nvidia

but it's under AppData\local\Temp\Nvidia...

 

Not only!

 

There's AppData\local\Nvidia\GLCACHE too

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

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.
      · 4 replies
    • 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...