DeTeEff Posted August 19 Report Posted August 19 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. Quote
DeTeEff Posted October 17 Author Report Posted October 17 I tried to reinstall TDM and it worked one time, but after reloading, the box is back. The console has this warning: Quote
nbohr1more Posted October 17 Report Posted October 17 Please invoke reloadGLSLPrograms the condump graphics.txt and attach the condump file. Quote 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...)
DeTeEff Posted October 20 Author Report Posted October 20 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? Quote
nbohr1more Posted October 20 Report Posted October 20 Open the console " CTRL + Alt + ~ " type reloadGLSLPrograms and press enter then type condump graphics.txt and press enter Quote 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...)
DeTeEff Posted October 20 Author Report Posted October 20 Here is the file. Hope you can find something useful https://drive.google.com/file/d/1E3yaf1XA1VIijnQA4QjmzcCFlkkLlGV0/view?usp=sharing Quote
nbohr1more Posted October 20 Report Posted October 20 Not much more detail there. Can you delete tdm_base01.pk4 and run tdm_installer to download a fresh copy? Quote 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...)
DeTeEff Posted October 21 Author Report Posted October 21 Still same. Created a new log: https://drive.google.com/file/d/1OGuNsPOYxeNfgtAezdZnH2qk4JrwPQFL/view?usp=sharing What does these errors do (they were there before and after reinstalling tdm_base01.pk4)? 0(28) : error C1060: incompatible types in initialization 0(28) : error C1056: invalid initialization Quote
nbohr1more Posted October 22 Report Posted October 22 Hmm, I wonder if you are using the old backend? Please post your darkmod.cfg Quote 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...)
DeTeEff Posted October 22 Author Report Posted October 22 https://drive.google.com/file/d/1Ydg0YLb7Kzo6wy0ePq4zTaWK78Rxuu6O/view?usp=sharing Quote
nbohr1more Posted October 23 Report Posted October 23 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. Quote 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...)
DeTeEff Posted October 23 Author Report Posted October 23 I'm thinking about moving all fms/custom folders and delete the whole game and reinstall... 1 Quote
stgatilov Posted October 26 Report Posted October 26 I looked at the shader, and all the types match. Maybe you really have wrong shader somewhere, it is between two files: glprogs\stages\light_passes\blend_light.frag.glsl 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. Quote
DeTeEff Posted October 26 Author Report Posted October 26 Thanks for also looking into it, @stgatilov I haven't had time to reinstall yet. Quote
DeTeEff Posted October 29 Author Report Posted October 29 Reinstalled and now it seems to work. I hope it'll stay that way. Thanks for the help anywy 2 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.