Jump to content
The Dark Mod Forums

Recommended Posts

Posted

Hi!

I'm doing the module approach with my current mission and I'm using shadowcaulk to seal of the individual locations from leaks/portalization etc. But at some random places, the light seeps through. I have encountered this before and then I used shadow brushes to try to cut of the light, but this doesn't seem as the ultimate solution

When I seal with just some random wood texture I can seal of the light, but it feels wasteful of resources to use those textures inside walls...

 

Do I just have to leave the caulk solution and use some "ordinary" textures or is there a workaround?

Leaking light.jpg

Posted

Probably something to be studied in relation to:

https://wiki.thedarkmod.com/index.php?title=New_light_leaks_in_2.12

If you make the shadow brushes func_static and add:

"forceShadowBehindOpaque" "1"

does the issue persist ?

See also:

https://bugs.thedarkmod.com/view.php?id=6536

which is an open issue...

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
35 minutes ago, DeTeEff said:

I'm using shadowcaulk

If you would use another texture than calk, would there be a noticable performance hit? If not, I don't understand why mappers still use calc. It's already proofed that calc gives no noticable performance gain. Maybe use a 1px texture?

Posted
58 minutes ago, datiswous said:

If you would use another texture than calk, would there be a noticable performance hit? If not, I don't understand why mappers still use calc. It's already proofed that calc gives no noticable performance gain. Maybe use a 1px texture?

Maybe I'm an old fart that just want to build clean and caulk is a really noticeable texture, which also can be filtered out. And it's nice to use caulk because I know that as long as something from the module is visible it will be rendered in front of the caulk.

Nowadays you may surely be right in that the performance hit is negligible. 

 

@nbohr1more It's a sealing brush so making it into a fun_static wouldn't be so good. Perhaps if I add an internal sliver of shadow brush inside the wall, func_static it and try your solution... Nightshift tonight so won't be able to test for some time though... 

  • Like 1
Posted

There's a few benefits to using caulk that I've seen. You can filter them out, which makes seeing what you're doing in DR much easier. That's the big one. Caulk also doesn't z-fight, so there's no harm in having one face of a caulk brush sit flush with the textured face of some other brush or func_static. That can come in really handy when you're trying to seal areas with complicated and detailed geometry. Also, caulk is designed to be a non-rendering thing that seals against the void. That's its purpose and I have no reason not to use the intended tool for the job.

  • Like 1
  • Thanks 1

My missions:           Stand-alone                                                      Duncan Lynch series                              

                                      Down and Out on Newford Road              the Factory Heist

                                The Wizard's Treasure                             A House Call

                                                                                                  The House of deLisle                                                                                                  

                              

Posted

@nbohr1more Update: As the leaking occurs in a corner I tried to add two separate slivers of shadowcaulk (turned into func_static). It leaks.

But if I combine the two into a single L-shaped func_static, the leak disappears. I didn't add forceShadowBehindOpaque 1.

So I guess I'll try the method of adding shadowcaulked func_statics to the problematic sections...

Not a clean solution, but who said mapping should be a clean affair? :)

  • Like 1
Posted

I think it's a trade-off of the new 2.12 optimization feature.

In theory, you would need to do less optimizing work and just need to fix a few light leaks here and there.

You can be less careful about light counts and light radius and not worry as much about the performance impact of lights from other areas, 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)
13 hours ago, thebigh said:

There's a few benefits to using caulk that I've seen. You can filter them out, which makes seeing what you're doing in DR much easier. That's the big one.

Yeah but you can filter (almost) anything out with the right (custom) filter.

 

13 hours ago, thebigh said:

Caulk also doesn't z-fight, so there's no harm in having one face of a caulk brush sit flush with the textured face of some other brush or func_static. That can come in really handy when you're trying to seal areas with complicated and detailed geometry. Also, caulk is designed to be a non-rendering thing that seals against the void.

I guess it doesn't z-fight because it's not rendered. I didn't know about this. Interesting.

Edited by datiswous
  • Like 1
Posted (edited)

Might not be the case here, but make sure you're not using any materials with no-shadows there. 

I once fell in the trap of using one without noticing, so I just thought I'd mention it.

 

I might also try to replicate the problem in a simplified test map, to see if the problem persists. 

Edited by Skaruts

My FMs: By The Cookbook

My tools: TDM Packer

Posted

Not only is caulk not rendered, but it doesn't even generate renderable triangles at all. You can texture a wall with caulk, go into game and enable r_showTris and you will see no triangles at all for the caulked wall.

At least that was the case the last time I tested. Perhaps the behaviour has changed with the numerous renderer optimisations that have happened since then.

  • 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

    • jivo

      In case you missed it, I updated the Visible Player Hands mod to version 2.0. It now works while a weapon is selected and has a Linux version too.
      Check it out if you're interested: Visible Player Hands 2.0
      · 0 replies
    • 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!
      · 12 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
×
×
  • Create New...