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

    • nbohr1more

      Cool thing: Thanksgiving break means I don't have to get my son up before dawn

      Not cool thing: My son stays up all night on my PC so I don't get much TDM time...
      · 3 replies
    • datiswous

      Does anyone know if the mission/map in this video posted by @Springheel can still be found somewhere and played? Looks like fun.
       
      · 1 reply
    • taffernicus

      I'm curious about doom and thief multiplayer netcode 😂 or how these games handle networking for multiplayer in general
      a youtube channel called battle(non)sense sometimes posts about netcode analysis
      · 2 replies
    • The Black Arrow

      Hey @Ansome, are you still around? I think it's been about 3 months since you've had an issue with an SSD, right?
      · 4 replies
    • Sotha

      Brushes: ~1300
      Patches: ~990
      Entities: ~960
      Ambients: Done, EFX: Done, Objectives: Done, Briefing, Done, Location System: Done.
      Going to final polishings before beta.
      · 0 replies
×
×
  • Create New...