Jump to content
The Dark Mod Forums

Recommended Posts

Posted

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

Posted

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.

Posted (edited)

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.

Posted

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

Posted

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

Posted (edited)

 

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!

 

 

Posted

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

Posted

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

Posted (edited)

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
Posted

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.

Posted (edited)

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.

Posted (edited)

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
Posted

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.

Posted (edited)

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.

Posted (edited)

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
Posted

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
Posted (edited)

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.

Posted (edited)

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.

Posted (edited)

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
Posted

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?

Posted

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

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

    • Goblin of Akenash

      Goblin-Secrets episode 2 is out now!
       
      · 3 replies
    • Airship-Ballet

      https://www.twitch.tv/airshipballet2 There was a mapping stream here, it's gone now.
      · 8 replies
    • peter_spy

      Stumbled upon a documentary on Enki Bilal, he is one of the most influential comic book artists of my adolescence. English auto-subtitles is rubbish, so you might need to brush up on your French
      · 3 replies
    • Goblin of Akenash

      Today I did a bit of an experiment! I wanted to see if I could get a dark radiant map into garry's mod, the quickest and dirtiest and not-workiest method is "OBJ2VMF" which converts .obj models into VMF files for hammer to then compile, the way its supposed to work is that you input a 6 sided cube and it turns it into a 6 brush room (not exactly ideal for this since that's not how TDM maps work, this honestly would have been a better idea with any thief game from 1 to the one from 2014 since they all work like that) so what ended up happening was that for every brush there was 6 brushes would be ontop of that almost inflating everything in the map like a balloon, map scale was also an issue that I couldn't fine-tune easily either so the scale is way off ontop of everything being inflated making the space inside the map very tiny! anyways heres the result of that and it looks almost nothing like footloose (plus I did add a bunch of random props in gmod for funsies and better visibility since the process involved replacing all the textures with dev ones that look very flat when in full-bright)

      https://streamable.com/ctmh58

      (streamable link will expire in 2 days but I'll have a spoken word version of this post along side the video and other fun images relating to the bsp inflation effect in the next "Goblin Secrets" video next month)
      · 0 replies
    • Frost_Salamander

      @taaaki Wiki seems broken. Main page works but click any link and:

      · 2 replies
×
×
  • Create New...