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

Testers and reviewers wanted: BFG-style vertex cache

Recommended Posts

Update 16 is up at Moddb:

 

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

 

* Mirror textures can now render in PortalSky views. Fixes the mission "Betrayal".

 

* Single Pass shadow maps are now the default: r_shadowMapSinglepass 1

 

* Some shadow map sampling artifacts fixed


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

So, the suggested (future default?) value for:

 

-shadowmapsize

-softshadowsradius

-softshadowsquality

 

are?


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

Some issues (The Warrens / maxed quality on a GeForce 750 Ti) - that ivy texture cast a not-intended -shadow:

 

1.jpg
2.jpg
3.jpg
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.

Share this post


Link to post
Share on other sites

Some issues (The Warrens / maxed quality on a GeForce 750 Ti) - that ivy texture cast a not-intended -shadow:

This is a tough one. I think we should set this decal to noshadows (or DECAL_MACRO which includes noshshadows)

but I don't know if any mapper has used this texture as something other than a decal... :(

 

We do have preliminary support for alpha shadowing but it's unclear whether it will be included in 2.07 (I get the impression that it will)

so "You can un-comment the alfa part in shadowmapN.fs" to cure this type of artifact.


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

Further experimenting with lights. It seems parallel lights with shadow maps also have problems, the shadows do not display, or do only in part. This one's a bit harder to pin, no soft shadows are glitchy in a different way than with soft shadows, and it seems the higher the soft shadow quality the more diffused and weak the parallel light is.

 

Hmm. Parallel lights use a math trick to move the light center to a very far location.

It is meant to simulate moon light. This trick is in place no matter how large the light

volume is. If our softening algorithm is using this center distance then it would

certainly explain over-softening for stencil shadows (where we don't have contact hardening)

but it may also play into Shadow Maps if the map depth capture is predicated on this

false distance (thus you will ALWAYS have low resolution because you are sampling at the

far edge away from the light center).

OOF!

 

I forgot about something.

 

Duzenko made a change that auto sizes the "light center size" (softness) based on the overall size of the volume.

If you ARE using Parallel lights for the typical sky \ moon light scenario then the over-softening would

be courtesy of the auto-sizing but also would likely be compounded by the factors I mentioned above.

 

In a previous discussion about Parallel lights, I suggested just a small uniform blur rather than using

any complex method to divine the contact hardening (etc).


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

Just thought I'd pop in and say I get the aas out of date with Samhain Night as well.

New engine changes invalidating old map aas?

Added a comment to:

 

http://bugs.thedarkmod.com/view.php?id=4877


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

 

Some issues (The Warrens / maxed quality on a GeForce 750 Ti) - that ivy texture cast a not-intended -shadow:

 

I tested the same location on the newest update. This is the SinglePass mode now defaulting to 1, it renders all apha materials opaque for the purposes of shadow casting. I already reported this, if you turn the cvar to 0 it fixes itself.

 

@nbhor, I don't know about the size of the light volume, my test was on a very conventionally sized one (~5123) and the shadows were straight up busted rather than over-softened - they just weren't there. With soft shadows on they disappear, with them off there are thin streaks of shadow that dis/appear as you move and look around. Parallel lights with (soft) stencil shadows don't look wrong from what I can tell.

 

I can also confirm the opaque blotches are now fixed but I can feel the optimization being gone, FPS dips to 40 now (down from, I don't remember ~50?), in my test scene with a bunch of alpha texture grates, with softshadow quality 16.

Edited by Spooks

My FMs: The King of Diamonds (2016)



| Visit my Mapbook thread sometimes! | Read my tutorial on Image-Based Lighting Workflows for TDM! |

Share this post


Link to post
Share on other sites

Hmm.

 

In Remembrance of Him uses parallel lights and I recall testing it not long ago and having

proper shadow rendering in Shadow Map mode.

 

I'll retest tonight to see if this is a vendor specific bug.

 

I was just speculating about "what could go wrong".

 

Edit: Do the same problems manifest if r_shadowMapSize is set to 1280 or higher?


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

Yes, they do. Do remember r_maxShadowMapLight when testing! I blew up the parallel light volume during tests and it got sent to stencil shadows because it was too large, In Remembrance of Him's parallel lights may well go over your r_maxShadowMapLight value.

  • Like 1

My FMs: The King of Diamonds (2016)



| Visit my Mapbook thread sometimes! | Read my tutorial on Image-Based Lighting Workflows for TDM! |

Share this post


Link to post
Share on other sites

Update 17:

 

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

 

This should be the last "informal" 2.07 package before the official 2.07 beta

 

HRTF Positional Audio!!!!

 

GUI Softness slider fixed

 

Fix for strange compass render issue

 

Improved OpenGL standards compliance.

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

Share this post


Link to post
Share on other sites

Didn't try HRTF but cf_level works when HRTF is off. 2 is pretty good value for both speakers and headphones.

 

Compass works now (no magnified background), although it still casts shadow on itself.

 

IMO it's still important to restore engine precision in drawing geometry (BSP holes, z-fighting between not overlapping surfaces), and the heat haze (with depth) program still displays weird artifacts.

Edited by Judith

Share this post


Link to post
Share on other sites

Does HRTF require stereo (2.0) setting?


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

Comparison Single Pass ShadowMaps: 5% perfomance hit

 

*Single Pass SM OFF (less performance, no issues)

0.jpg

*Single Pass SM ON (more performance, alpha issue)

1.jpg

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.

Share this post


Link to post
Share on other sites

Don't know if is just the mess of modifications i have for TDM, but while playing "rightful property" was unable to use water arrows to turn of the torches, also add the aas out of date error again. I'm playing with the latest 2.07 alpha update 17 and the unificial TDM patch 1.1.

 

Outside of that game was smooth tho.

Edited by HMart

Share this post


Link to post
Share on other sites

I'm playing with the latest 2.07 alpha update 17 and the unificial TDM patch 1.1.

The Unofficial Patch hasn't been updated for 2.07 yet, so if some of the light definitions changed in 2.07 this could cause your problem.

Share this post


Link to post
Share on other sites

Does HRTF require stereo (2.0) setting?

Up (and I cant's see any switch to toggle it ON/OFF)

 

+1 for the a new beta package with the rendering precision bug solved (if possible, thanks)

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

It's in the alsoft.ini file in the root directory. Look for hrtf = true, change it to false if you want to try out the crossfade setting (cf_level = 2).

 

Btw. it would be pretty neat to have reloadsounds read the changed .ini file as well, so we can experiment with different values without restarting the game.

Edited by Judith
  • Like 1

Share this post


Link to post
Share on other sites

Btw. it would be pretty neat to have reloadsounds read the changed .ini file as well, so we can experiment with different values without restarting the game.

I suggest filing a feature request.

The problem is that openal-soft reads its own config inside its implementation.

I have no idea yet if it is possible to set this config programmatically.

  • Like 2

Share this post


Link to post
Share on other sites

It's in the alsoft.ini file in the root directory. Look for hrtf = true, change it to false if you want to try out the crossfade setting (cf_level = 2).

 

Btw. it would be pretty neat to have reloadsounds read the changed .ini file as well, so we can experiment with different values without restarting the game.

But always with the stereo setup, right? (Soft OpenAL requires it for HRTF).

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

Don't know if it's the correct thread where to post this but:

 

The-Dark-Modx64-2018-12-06-12-27-03-190.free image hosting

 

This blending issue "candle light vs water" can't be solved, right?

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.

Share this post


Link to post
Share on other sites

But always with the stereo setup, right? (Soft OpenAL requires it for HRTF).

 

Yup, and that's the default value (i.e. even when that line is empty). As for the candle, that's transparency sorting problem, it should be done in materials.

Edited by Judith

Share this post


Link to post
Share on other sites

Comparison Single Pass ShadowMaps: 5% perfomance hit

 

*Single Pass SM OFF (less performance, no issues)

*Single Pass SM ON (more performance, alpha issue)

 

 

 

Quite puzzling to see it faster on your system

 

What is that decal material exactly?

 

@nbohr1more, do we want to switch shadows off for that decals?

Share this post


Link to post
Share on other sites

Don't know if it's the correct thread where to post this but:

 

free image hosting

 

This blending issue "candle light vs water" can't be solved, right?

Supposedly we could sort surfaces by distance to entity

Or force some shaders (water) sort priority different to others (candle halo) - right now they're the same

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