Jump to content
The Dark Mod Forums

Recommended Posts

Posted

Hi!

I have focused on building and haven't played any missions recently so this is probably an old issue since the release of 2.12 but I've noticed that the candle in holders is buggy with the lighting. Either the flame doesn't cast any light or there is a black box around it.

  • 1 month later...
Posted
On 10/17/2024 at 6:04 PM, nbohr1more said:

Please invoke reloadGLSLPrograms the condump graphics.txt and attach the condump file.

Sorry, tech noob here. How exactly do I do this?

Posted

I tried your Darkmod.cfg and couldn't replicate.

The condump shows you are running Windows, have an RTX 2070 with newish drivers.

I tested on Windows 10, latest Nvidia drivers, on an RTX 2060.

These should be the same system in terms of shader compiles.

Check your darkmod folder for a glprogs folder or any mod pk4 files that have glprogs folder in them.

I think you have an old version of the blendlight shader somewhere in your install.

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

I looked at the shader, and all the types match.

Maybe you really have wrong shader somewhere, it is between two files:

  1. glprogs\stages\light_passes\blend_light.frag.glsl
  2. glprogs\tdm_lightproject.glsl

Here is the important contents in the first shader, it must match exactly:

uniform sampler2D u_lightFalloffTexture;
uniform sampler2D u_lightProjectionTexture;
uniform vec4 u_lightTextureMatrix[2];
uniform vec4 u_blendColor;

in vec4 var_TexLight;

out vec4 FragColor;

void main() {
	vec4 lightColor = projFalloffOfNormalLight(u_lightProjectionTexture, u_lightFalloffTexture, u_lightTextureMatrix, var_TexLight);
	FragColor = u_blendColor * lightColor;
}

Here is the important line in the second shader, it must match too:

vec4 projFalloffOfNormalLight(in sampler2D lightProjectionTexture, in sampler2D lightFalloffTexture, in vec4 texMatrix[2], vec4 texCoord) {


Maybe your driver cached compiled shader somewhere and still tries to use the old cache.

Maybe this is some driver-specific issue.

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

    • DeTeEff

      The best thing about not mapping more than like every other year is the awesome feeling to see how far TDM has gotten in all appartments. I can just create some parallaxing cobblestones and walk to and fro and just let the jaw drop
      · 2 replies
    • Ansome

      Happy Halloween, TDM folks!
      · 1 reply
    • Acolytesix  »  nbohr1more

      Hey, was trying to use the TDM_Update.exe file, but when I do it doesn't do anything! It just goes back to 2.12. I'm trying to run Luitenant 4, but it won't update, so I can't play it. What am I doing wrong?
      · 2 replies
    • The Black Arrow

      Been away for quite a long time, didn't have much free time sadly, but the little that I had I was able to play a Romhack for Ocarina of Time called "Sands of Time".
      It's great, fun, rather hard but too but I like it (except when it's way too tedious, only some parts are, not all of them)
      Although the reason I'm sharing this is...Listen to the music, I've timestamped it to 27:56, it's titled "Memories Lost".
      Doesn't it sound so serene, so melodic...So Thief-like? It's fantastic, I love it, it reminded me of Thief and how much I want to get back to it, so hopefully this month or the next, I will have a lot of free time to play it.
      I can't wait to try that new big Thief campaign, The Black Parade, it seems to be promising.
      No spoilers please, but can someone tell me if it has horror elements? Or better yet, horror mission...Or even missionS?
       
      · 1 reply
    • STiFU

      Just managed to get the true ending of Silksong. I am really happy the true ending wasn't as hard to get as the one in its predecessor, which I never managed to achieve. 😄 Awesome game! Loved almost every bit of it.
      · 1 reply
×
×
  • Create New...