Jump to content
The Dark Mod Forums

Recommended Posts

Posted

List of new cvars:

GENERIC

r_volumetric* --- for tweaking volumetric light algorithm (if defaults are not good enough).

tdm_blackjack_indicate --- raise arm up to indicate when blackjacking can result in KO.

pm_mantle_roll_mod --- allows to tune down motions during mantling.

tdm_multiloot_min_interval, tdm_multiloot_max_interval --- configures timings for multiloot grabbing feature.

teleportArea --- command to quickly find a visportal area with specified index.

TROUBLESHOOTING

r_modelBvh* --- configures all BVH-related optimizations. r_modelBvhBuild is the "kill switch".

r_softShadowsMipmaps --- enables the new bandwidth optimization for soft stencil shadows.

com_useMinorTics --- enables AI interleaving optimization for low FPS.

r_useParallelAddModels --- old optimization also known as "Frontend Acceleration", enabled by default in beta211-03.

r_frobDefault* --- controls addition of implicit frob-highlight stages.

decl_fix_mission_override, decl_skip_redefine_warning --- controls the rules for decl overrides.

dmap_tjunctionsAlgorithm --- new dmap optimization in FixGlobalTJunctions function.

dmap_disableCellSnappingTjunc, dmap_aasExpandBrushUseEdgesOnce --- enables dmap changes for better numeric stability.

  • Like 2
Posted

@stgatilov I found an issue with screenshots and r10197. I'm sorry to bother you with this yet again.

Artifacts can show behind volumetric lights at the time of a screenshot. The attached screenshot is at Hazard Pay 3197.94 1807.48 337.08   9.5 36.6 0.0.

Using stencil shadows, the top circle shows artifacts (from the gate?) and the bottom circle shows that the shadow changed (or at least became darker). Using shadow maps, the top circle artifacts are not present but the bottom circle shadow did change (stencil shadows use shadow maps here as well, so that makes sense).

Note: The artifacts can be seen in game at the time of the screenshot, so looking at the resulting screenshot is not necessary.

hazard-pay-screenshot-artifacts.webp

  • Like 1
  • Thanks 1
Posted (edited)

I found two objects with missing textures in 2.11 beta 1 (also, missing in earlier 2.11 dev asset versions). They look fine using 2.10 assets.

Are these actually missing textures or another issue?

  1. Hazard Pay. Crumpled note. 2602.16 -275.42 -2215.75 40.6 67.4 0.0
  2. Iris. Trash can. 363.84 1181.95 -381.25 27.4 -142.7 0.0

Is there a way to automate finding these?

@AluminumHaste Using your getviewpos screenshot trick. Thanks! :)

missing-textures-2.11-beta1.webp

Edited by Daft Mugi
  • Like 2
  • Thanks 1
Posted (edited)
2 hours ago, datiswous said:

Hi my console shows #10189 . Is there a difference with #10190 ? TDM installer shows I'm using 2.11 beta 1.

#10189 is the beta 1 release. #10190 and above are SVN code revisions. These are not released as downloadable builds, which means one would have to build the source code and have the corresponding assets to use a non-released revision. At some point, a new beta will be released with a chosen revision. The current SVN revision is #10197, so the next beta release will likely be greater than that.

Edit: Welp, I missed "beta211-01 (rev 16656-10190)" mentioned above. Answered the wrong question.

Edited by Daft Mugi
Posted (edited)
6 hours ago, Daft Mugi said:

I found two objects with missing textures in 2.11 beta 1 (also, missing in earlier 2.11 dev asset versions). They look fine using 2.10 assets.

DR says the material is missing. Looking at file tdm_epi_shader_2.mtr (in tdm_textures_base01.pk4) (where the material originally comes from), this file is much smaller in 2.11 than in 2.10 and misses the material.

Maybe the file was cleaned up to only include what is in TDM core. Previously had materials included specifically used in certain missions?

Edited by datiswous
Posted
7 hours ago, Daft Mugi said:

I found two objects with missing textures in 2.11 beta 1 (also, missing in earlier 2.11 dev asset versions). They look fine using 2.10 assets.

Are these actually missing textures or another issue?

  1. Hazard Pay. Crumpled note. 2602.16 -275.42 -2215.75 40.6 67.4 0.0
  2. Iris. Trash can. 363.84 1181.95 -381.25 27.4 -142.7 0.0

Is there a way to automate finding these?

@AluminumHaste Using your getviewpos screenshot trick. Thanks! :)

missing-textures-2.11-beta1.webp

I know this is unrelated so I hope it's okay I ask here... but what is that ground texture? Would fit perfectly in the FM I'm currently working on but upon looking I couldn't find it anywhere, looked both in the bricks and cobblestones directories.

Posted
On 12/3/2022 at 6:11 AM, stgatilov said:

tdm_blackjack_indicate --- raise arm up to indicate when blackjacking can result in KO.

Oh wow. I've been playing TDM since the time it was actually a mod for Doom 3, and I guess I always considered mastering KOs in this game to be something of a rite of passage, given there's always a chance you'll fail no matter your experience. Now you are able to get a visual indication of a guaranteed takedown, which I think is an overall positive but it takes some of the uncertainty away.

On the other hand, I will freely admit to save scumming. I would often save before attempting a KO even if I thought it would have a high chance of succeeding. So I'm trading lots of saving in a mission for an animation showing the chance of success. At least there's a cvar to allow for both styles, I like that.

  • Like 1

A word of warning, Agent Denton. This was a simulated experience; real LAMs will not be so forgiving.

Posted
12 hours ago, MirceaKitsune said:

I know this is unrelated so I hope it's okay I ask here... but what is that ground texture? Would fit perfectly in the FM I'm currently working on but upon looking I couldn't find it anywhere, looked both in the bricks and cobblestones directories.

Load up the map, in the console type setviewpos 3363.84 1181.95 -381.25 27.4 -142.7 0.0

In the console type r_showSurfaceInfo 1 and now you can see the texture name when you look at it.

 

 

  • Like 1

I always assumed I'd taste like boot leather.

 

Posted

Interesting. I'm on amdgpu on Linux / Manjaro but don't believe I ever saw such flickering. Closest I can say I've seen, excluding the quicksave flashing which I understand was fixed, is when turning the view around too quickly and a lot of portals loaded the whole place turned white or was invisible for a few frames. No black boxes like in that video though.

Posted
13 minutes ago, AluminumHaste said:

We went through this already remember? AMD updated something in their drivers and it was fixed.

EDIT:

 

Sure, but it never hurts to keep outputs clean.

Presuming you are using r_useNewBackend 1 go to glprogs/stages/interaction/ interaction.ambient.fs.glsl and try replacing the FragColor line with:

float lcolmax = max(lightColor.r , max(lightColor.g , lightColor.b)) ;
float diffusemax = max(params[var_DrawId].diffuseColor.r, max(params[var_DrawId].diffuseColor.g, params[var_DrawId].diffuseColor.b));
FragColor = min((vec4(lightColor * ssao * interactionColor.rgb, interactionColor.a)), ( lcolmax * diffusemax ));

 

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

Hmm

Try:


 

float lcolmax = max(lightColor.r , max(lightColor.g , lightColor.b)) ;

float diffusemax = max(params[var_DrawId].diffuseColor.r, max(params[var_DrawId].diffuseColor.g, params[var_DrawId].diffuseColor.b));

FragColor = min((vec4(lightColor * ssao * interactionColor.rgb, interactionColor.a)), ( lcolmax * diffusemax ));

FragColor = max(FragColor, vec4(0));

 

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

@AluminumHaste, can you please toggle on/off some cvars to see if the issue depends on anything?
Except for bloom: don't disable it, or you'll get tiny black pixels instead of huge blocks 😉

Most likely some of the new shader code generates NaNs again, and AMD is sorta right by propagating it all over the picture thanks to Bloom.

  • Like 1

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

    • thebigh

      Starting a playthrough of the whole Dark Mod, from oldest mission to newest. I've knocked over the first few already and about to start Living Expenses. Only ~170 missions to go!
      · 9 replies
    • Ansome

      I'm back! Happy new years, TDM folks!
      I brought with me a quick update for my first FM that fixes up a lot of small issues that didn't get caught in beta testing. I didn't exactly expect it to take me nearly 9 months to release a patch, but it's been a wild year to say the least. Teaching, finishing up my Master's of Education, and all manner of other events forced me to drop out of the anniversary FM contest and ate up all my time, but I'm back again in a comfortable position to start catching up on all the new FMs. I may even start work on another spooky project of greater length and difficulty in the coming year.
      Thanks again for the warm welcome to the community and have a happy new year!
      · 3 replies
    • JackFarmer

      I got myself the apple tv trial subscription. I have to say, “Foundation” (season 1) is very exciting. Shall I read the books as well?
      · 2 replies
    • datiswous

      One more like..
       

      · 3 replies
    • snatcher

      TDM Modpack v4.6 released!
      Introducing... the Forward Lantern mod.
      · 0 replies
×
×
  • Create New...