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

    • jaxa

      Talk GabeCube:
      https://forums.thedarkmod.com/index.php?/topic/18055-2016-cpugpu-news/page/39/#findComment-508710
      · 1 reply
    • The Black Arrow

      Things have been so bad these days for me...
      Just a year ago, I've been feeling dizzy, I thought it was nothing, today's stress, that type of thing, went to sleep...Still dizzy! 9 more days dizzy, went to doctor (I would have gone on the first day if NOT for the long appointment time)
      Said it may be Neck Dizziness...I did exercises for 6 months, no changes.
      Went to a Physical Therapist, went to another, no changes.
      I've asked my doctor for a full check this time.
      I hated yesteryear so much due to personal reasons, this year might be the same.
      To be brutally honest, I'd rather have cancer or/and chronic pain than suffer dizziness any second longer, especially when nothing helps.
      Hard to enjoy Thief when you're dizzy so I was hoping this year, Winter will be best for me.
      · 7 replies
    • JackFarmer

      Hello mappers and taffers! 

      Are you still out there? It is so calm here these days and I am afraid this is no good sign.
      Proof me wrong, tell your best friend (=me), that you are still here and that you will not go away!
      · 5 replies
    • JackFarmer

      Happy Labour Day, my taffing taffers & hard working mapping friends!
      And remember the poor souls who, within the Inventors’ organization, labor under Jonus’s yoke to ensure the success of that very guild! Always remember the hard workers!
      · 2 replies
    • datiswous

      Is there a script command to make a screenshot?
      I just though it could be interesting to be able to create a screenshot at a certain point in time. Then use that screenshot possibly in a debrief.
      I guess the second question is: Can you use a (in-game made) screenshot in a (debrief) gui?
      · 1 reply
×
×
  • Create New...