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

    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 2 replies
    • 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
×
×
  • Create New...