CS:S Flashlight is broken on de_aztec
Hello
Flashlight is broken, when I try to shine on something it creates a white texture. This issue seems to be unique to de_aztec.
Hello @Xaggy, please copy your system information from Steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report.
Hello @Xaggy, please copy your system information from Steam (
Steam->Help->System Information) and put it in a gist, then include a link to the gist in this issue report.
https://gist.github.com/Xaggy/1d00f10fa69242ed74f45ca07eb689ba
Hi, The same thing is happening on Linux.
Same issue here, I ran around on all the other official CS:S maps with my flashlight and didn't see any other maps had the same issue. I also downloaded some community maps that use aztec textures and assets, but the flashlight issues don't seem to carry over to those maps. On GameBanana, I did notice some mappers were having issues trying to find de_aztec textures in the hammer editor, so I wonder if the issue could be related to that.
System Specs: https://gist.github.com/ILC-YTP/8de9d7571765d7af5a3459cd3f198f32
Update: If Shadow Detail is set to Medium or Low in the game settings, the issue is gone. Reappears if set back to high. Console command wise, if r_flashlightdepthtexture is set to 1, then the flashlight bug is present.
I decompile Aztec and recompile that should probably fix the issue and the recompile map was compiled on a AMD CPU and was decompile with bspsrc windows build
normal map (Also the normal map does not use HDR)
recompile map HDR
recompile map not HDR
Replying to https://github.com/ValveSoftware/Source-1-Games/issues/7045#issuecomment-2669983483
Building the cube Maps did not cause the issue
Replying to #7045 (comment)
Aztecs Bsp might be version 19 which could cause the issue or how the lightmaps are converted to the engine it might cause issue https://developer.valvesoftware.com/wiki/BSP_(Source)
Replying to #7045 (comment)
It is not the how lightmaps are converted to the engine
(Fulbright is on)
Replying to #7045 (comment)
This issue will affect the Projected texture entity https://developer.valvesoftware.com/wiki/Env_projectedtexture
Replying to #7045 (comment) To update the bsp version you have to recompile the map.
I can confirm the bug on GNU/Linux as well.
So I started using the -gl switch to start the game, and the flashlight issue disappeared.
So I started using the -gl switch to start the game, and the flashlight issue disappeared.
Tried the same here, but it didn't seem to solve the issue. Did the GL flag change your video settings? Or does the GL flag not work on Windows? (I can't find a convenient way to figure out what uses OpenGL or DirectX)
So I started using the -gl switch to start the game, and the flashlight issue disappeared.
Tried the same here, but it didn't seem to solve the issue. Did the GL flag change your video settings? Or does the GL flag not work on Windows? (I can't find a convenient way to figure out what uses OpenGL or DirectX)
you can use Rivaturner (preinstalled with MSI Afterburner), and enable framerate monitoring in MSI afterburner, or use Special K and check graphics API there. On Windows, only D3D9 or Vulkan (through DXVK using -vulkan), is supported.
The workarounds are great, but they dont fix the underlying issue, that the map needs to be fixed.
Aztec textures, that have those issues, use WorldTwoTextureBlend shader.
Also, in developer mode, console throws error: ***** Invalid pixel shader index (out of range) for worldtwotextureblend_ps20b (16 of 16).
Flashlight was fine in de_aztec before the February 18 2025 update:
After the February 18 2025 update, the flashlight is broken in de_aztec (still broken in build 11003710, released September 16 2026):
This issue affects both the 64-bit and 32-bit clients.
My system specs: https://gist.github.com/RiverHornet3209/5e86b71dfa2f4d6b219efdb05bded7ce
I wonder when they will fix this.