Jump to content
The Dark Mod Forums

Recommended Posts

Posted
5 minutes ago, stgatilov said:

Well, the previous dev build introduced a bug with noshadows lights. Their lighting can be optimized away in some cases, for faster performance and wrong results 😂

The upcoming fix will probably reduce performance a bit back, although it seems to be rather small.

Yeah a little it seems.

Fa6sl5Z.png

Down about 10 FPS.

  • Like 2

I always assumed I'd taste like boot leather.

 

  • Replies 131
  • Created
  • Last Reply

Top Posters In This Topic

Posted
4 minutes ago, stgatilov said:

Maybe this: https://bugs.thedarkmod.com/view.php?id=6244 ?

If yes, please leave a comment there about how much it breaks existing mission.
Such circumstances greatly raise significance of an issue, at least in my eyes 😉

I just opened that bug tracker 😛

There aren't many missions that require player to swim against a current, I'll have to check some to see if any of them use forcefield.

  • Like 1

I always assumed I'd taste like boot leather.

 

  • 2 weeks later...
Posted (edited)

A reminder: Was playing with graphics settings again and r_shadowMapCullFront seems to give me an extra 10 FPS! Is there still a reason why it wouldn't be on by default for everyone?

r_shadowMapAlphaTested doesn't seem to have any performance impact for me. Was it needed to get shadows from surfaces with alpha channels, like having trees with leafs cast shadows? Then again those don't work since I think they're still "noshadows" by default... wonder if alpha materials could be given a special mode to support shadow with it.

Edited by MirceaKitsune
Posted
16 minutes ago, MirceaKitsune said:

A reminder: Was playing with graphics settings again and r_shadowMapCullFront seems to give me an extra 10 FPS! Is there still a reason why it wouldn't be on by default for everyone?

It produces hairline light leaks at some recessed shadow boundaries.

Jonri was helping me create an erode shader to improve that but the result caused shadow acne because the shader was working in texture space. Needs to be screen space as I can grok.

  • Like 1

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
2 hours ago, nbohr1more said:

It produces hairline light leaks at some recessed shadow boundaries.

Jonri was helping me create an erode shader to improve that but the result caused shadow acne because the shader was working in texture space. Needs to be screen space as I can grok.

A known appraoch is to do screen-space raytracing from rendered fragments as additional check.
But it is quite costly this would return some shadow boundaries to hard shadows... and also I'm sure it will bring even more artefacts as screen-space technique.

Posted

yeah, i guess its all a game of tradeoffs.

right now, cullfront cures some selfshadow bugs on statues (and AI) so its probably preferable...

but those light leaks really annoy you once you start to notice them. tough call

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
56 minutes ago, nbohr1more said:

yeah, i guess its all a game of tradeoffs.

right now, cullfront cures some selfshadow bugs on statues (and AI) so its probably preferable...

but those light leaks really annoy you once you start to notice them. tough call

Since they both improve performance and fix other edge cases, seems enabling them might be better than not. I already did so on my end... don't mind a few inaccurate edges even if I wish those didn't happen either, happy for the extra FPS plus fixing self-shadowing issues I have also noticed now that I think about it.

Actually I'm curious about something: What if we gave that option 3 modes, so only front faces or backfaces or both cast shadows? I remember once reading that in some circumstances, you can get better results by only computing shadows out of backfacing given they're closer to what's casting them and you don't need shadowing inside an enclosed model.

Posted
2 hours ago, AluminumHaste said:

Can you go into the game and type 'getviewpos' into the console and paste the output here?

-5135.74 -1227.59 -215.75   89.0 60.2 0.0

Stand on the pillar and look down at its top while crouching. Oh, and enable g_showPlayerShadow since I think the effect shows in a player shadowed spot... if relevant I have shadow map quality set to Low (6 samples).

seeking(2023-06-2918-11-39)(1572.012756190.25).thumb.jpg.a01847970922eb20e38e30ee36e037e8.jpg

As is no surprise, I can confirm alpha textures such as leafs on trees produce the same sharpness as geometry without MSAA being able to address it. Makes me feel less bad about disabling AA entirely, given it's not just a performance drag but also a partial solution that fails to address various cases of sharp edges.

Posted

Ok yeah it looks like just the normal map has no mipmaps generated for it.

GIMP lists only 1 layer, whereas the diffuse texture lists 11 layers. So when you're far enough away you'll get shimmering and artifacts. The normal map is also a TGA file, so it's uncompressed and there's no embedded mipmap support.

Would have to convert it to DDS and generate mipmaps, which is probably a good idea anyways.

I always assumed I'd taste like boot leather.

 

Posted
1 hour ago, AluminumHaste said:

Ok yeah it looks like just the normal map has no mipmaps generated for it.

GIMP lists only 1 layer, whereas the diffuse texture lists 11 layers. So when you're far enough away you'll get shimmering and artifacts. The normal map is also a TGA file, so it's uncompressed and there's no embedded mipmap support.

Would have to convert it to DDS and generate mipmaps, which is probably a good idea anyways.

Is that a vanilla texture, or should I post about this on the FM thread? I think I saw it before so I presumed it's default.

Didn't know mipmaps were still so important: I always thought they're intended as LOD or for progressive loading. Good to know since if I made any textures I'd have likely used tga or png, still had this stereotype that dds is a more proprietary format though it works with Gimp and even the compression modes were open-sourced at some point.

Posted
2 hours ago, AluminumHaste said:

Ok yeah it looks like just the normal map has no mipmaps generated for it.

Unless it is has changed recently practically all normal maps in the game are uncompressed as dds compression causes visual artifacts on them.

Though I imagine how noticeable this is somewhat dependent on the asset and method of compression.

-=  IRIS  =-    ♦    = SLL =

Posted (edited)
1 hour ago, datiswous said:

Hi, did you see this post?

I thought I mention it for a possible fix.

I removed this in my latest Unofficial Patch so it should be easy to do this in the core game as well.

Edited by wesp5
  • Like 1
Posted
38 minutes ago, stgatilov said:

dev16818-10434 is available.

As for renaming Stealth Score, I see lengthy discussion but no resolution yet...

I found a very simple solution for my patch ;): Stealth Score (lower is better):

Posted
6 hours ago, stgatilov said:

As for renaming Stealth Score, I see lengthy discussion but no resolution yet...

Try finding members supporting a positive score (vs negative) and more importantly, let's see the arguments.

The total score value must be negative. Such tiny change illustrates on its own a "penalty" vs a "positive who knows what". The only remaining decision is what happens when the score is zero. In this case zero is better replaced with a "Perfect", "Ghost", "Master"...

As for the name, "Stealth Score" is fine and it's secondary to me and I am neutral.

TDM_Modpack_Thumb_50.png

Posted

I actually thought of the stealth score label myself: Score implies achieving something positive, but getting caught isn't something to be desired... a more correct name would seem like "stealth penalty". Having it decrease instead of increasing might not be possible though since you can trigger any number of alerts, there isn't a standard amount you can relate to and subtract from so you can come up with a percentage, like for loot where you know the maximum amount on the map.

Posted (edited)
On 7/15/2023 at 1:46 PM, stgatilov said:

dev16818-10434 is available.

As for renaming Stealth Score, I see lengthy discussion but no resolution yet...

I was only talking about my specific post and it does include a solution. It's a minor thing though.

On 5/24/2023 at 11:38 AM, datiswous said:

I just tested and you first get a mission succes screen, where you can click on the Mission Statistic screen.

_mission1(2023-05-2411-41-31)(000).thumb.jpg.90c34b5bf1b3a5b9e341035b1aa86f81.jpg

But if you click on it, the button stays there, but it could be easilly removed from the statistics screen.

By adding code:

			set "statistics::visible" "0";
			set "statisticsH::visible" "0";

to windowDef statistics_select under onAction

Edited by datiswous

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

    • jivo

      I just uploaded a new version of the Visible Player Hands mod. It's been updated for TDM 2.13 and has new animations. Check out the post if you're interested!
      · 0 replies
    • datiswous

      I moved from Manjaro Linux (rolling release) to Linux Mint (LTS). One of the reasons was that I found the updates a bit too often and long. But now on Mint I get updates every day, although they're usually small updates.
      · 3 replies
    • JackFarmer

      "Hidden Hands: Vitalic Fever" - new update available including subtitles & compressed briefing video (thanks to @datiswous) and several fixes.
      · 0 replies
    • Wolfmond

      🇬🇧

      2025-04-20
      I'd like to track my level design progress a bit more often now, so I'm using the feed in my profile here.
      I've been working intensively on Springheel's YouTube course over the past few days. I'm currently up to lesson 8. There is so much information that needs to be processed and practiced. 
      I have started to create my own house. As I don't have the imagination to create a good floor plan, I grabbed a floor plan generator from Watabou and experimented with it. I chose a floor plan that I will modify slightly, but at least I now have an initial idea. 
      I used two guards as a measuring tape: The rooms are two guards high. It turned out that I can simply double the number of boxes in DarkRadiant in grid size 8 that are drawn in the floor plan. 
      I practiced the simplest things on the floor plan first. Drawing walls, cutting walls, inserting doors, cutting out frames, creating VisPortals, furnishing rooms.
      I have had my first success in creating a book. Creating a book was easier than I thought. I have a few ideas with books. The level I'm creating will be more or less a chill level, just for me, where I'll try out a few things. I don't have an idea for my own mission yet. I want to start small first.
      For the cellar, I wanted to have a second entrance, which should be on the outside. I'm fascinated by these basement doors from the USA, I think they're called Bilco basement doors. They are very unusual in Germany, but this type of access is sometimes used for deliveries to restaurants etc., where barrels can be rolled or lifted into the cellar. 
      I used two Hatch Doors, but they got completely disoriented after turning. I have since got them reasonably tamed. It's not perfect, but it's acceptable. 
      In the cellar today I experimented with a trap door that leads to a shaft system. The rooms aren't practically finished yet, but I want to continue working on the floor plan for now. I'll be starting on the upper floor very soon.

      __________________________________________________________________________________
      🇩🇪

      2025-04-20

      Ich möchte nun mal öfters ein bisschen meinen Werdegang beim Leveldesign tracken, dazu nutze ich hier den Feed in meinem Profil.
      Ich habe mich in den vergangenen Tagen intensiv mit dem Youtube-Kurs von Springheel beschäftigt. Aktuell bin ich bis zu Lektion 8 gekommen. Das sind so viele Informationen, die erstmal verarbeitet werden wollen und trainiert werden wollen. 

      Ich habe mich daran gemacht, ein eigenes Haus zu erstellen. Da mir die Fantasie fehlt, einen guten Raumplan zu erstellen, habe ich mir einen Grundrissgenerator von Watabou geschnappt und damit experimentiert. Ich habe mich für einen Grundriss entschieden, den ich noch leicht abwandeln werde, aber zumindest habe ich nun eine erste Idee. 

      Als Maßband habe ich zwei Wächter genommen: Die Räume sind zwei Wächter hoch. Es hat sich herausgestellt, dass ich in DarkRadiant in Gittergröße 8 einfach die doppelte Anzahl an Kästchen übernehmen kann, die im Grundriss eingezeichnet sind. 

      Ich habe bei dem Grundriss erstmal die einfachsten Sachen geübt. Wände ziehen, Wände zerschneiden, Türen einsetzen, Zargen herausschneiden, VisPortals erstellen, Räume einrichten.

      Ich habe erste Erfolge mit einem Buch gehabt. Das Erstellen eines Buchs ging leichter als gedacht. Ich habe ein paar Ideen mit Bücher. Das Level, das ich gerade erstelle, wird mehr oder weniger ein Chill-Level, einfach nur für mich, bei dem ich ein paar Sachen ausprobieren werde. Ich habe noch keine Idee für eine eigene Mission. Ich möchte erst einmal klein anfangen.

      Beim Keller wollte ich gerne einen zweiten Zugang haben, der sich außen befinden soll. Mich faszinieren diese Kellertüren aus den USA, Bilco basement doors heißen die, glaube ich. Diese sind in Deutschland sehr unüblich, diese Art von Zugängen gibt es aber manchmal zur Anlieferung bei Restaurants etc., wo Fässer dann in den Keller gerollt oder gehoben werden können. 
      Ich habe zwei Hatch Doors verwendet, die allerdings nach dem Drehen vollkommen aus dem Ruder liefen. Inzwischen habe ich sie einigermaßen gebändigt bekommen. Es ist nicht perfekt, aber annehmbar. 
      Im Keller habe ich heute mit einer Falltür experimentiert, die zu einem Schachtsystem führt. Die Räume sind noch quasi nicht eingerichtet, aber ich möchte erstmal am Grundriss weiterarbeiten. In Kürze fange ich das Obergeschoss an.



      · 2 replies
    • JackFarmer

      On a lighter note, thanks to my cat-like reflexes, my superior puzzle skills and my perfect memory, I was able to beat the remastered version of "Tomb Raider: The Last Revelation" in a new superhuman record time of 23 h : 35 m, worship me!
      · 5 replies
×
×
  • Create New...