- Nov 29, 2023
- 6
- 0
Hello everyone.
While working on my map, I have repeatedly run into the issue of health and ammo packs disappearing (i.e. their models not being rendered) even though they are still in my field of view. This seems to be influenced by the direction I am looking and the distance am I away from them - looking straight at the packs from close enough usually makes them render correctly, but looking anywhere in the general direction of down and to the right (from the perspective of the picture attached) results in most of them temporarily turning invisible. They have not actually disappeared, as you can still see a shadow (look next to the point) and still see them with mat_wireframe 3, but their model is failing to render.
Can anyone tell me why this is happening? My map is symmetrical, but this effect is not (looking at the same places on the other side does not produce identical results).
Thanks.
Note: This map was made for a sourcemod called Team Fortress 2 Classic, but I loaded the map in regular TF2 and the problem persists, so any solutions you can give me will still apply.
Edit: I have discovered that changing my LOD settings (specifically r_lod to 1 instead of the default -1) fixes it for me. But I would still like to know how I can make these packs visible to all players regardless of their LOD settings.
Edit 2: Somehow, this issue doesn't seem to affect other peoples' maps. As a test, I re-compiled a decompiled koth_viaduct and took a look at some of the packs from thousands of HU away with the lowest LOD settings, and yet they still render. How? The entities are exactly the same. In fact, I copied these mysterious working packs into my map (near the spot in picture one) and they stopped working. So it is something about my map. But what?
I have attached images from my view in Hammer++. One just viewing this area normally and one with the portal file loaded. Maybe this will help someone more knowledgeable than me figure it out.
Image 1:
Image 2:
Image 3:
While working on my map, I have repeatedly run into the issue of health and ammo packs disappearing (i.e. their models not being rendered) even though they are still in my field of view. This seems to be influenced by the direction I am looking and the distance am I away from them - looking straight at the packs from close enough usually makes them render correctly, but looking anywhere in the general direction of down and to the right (from the perspective of the picture attached) results in most of them temporarily turning invisible. They have not actually disappeared, as you can still see a shadow (look next to the point) and still see them with mat_wireframe 3, but their model is failing to render.
Can anyone tell me why this is happening? My map is symmetrical, but this effect is not (looking at the same places on the other side does not produce identical results).
Thanks.
Note: This map was made for a sourcemod called Team Fortress 2 Classic, but I loaded the map in regular TF2 and the problem persists, so any solutions you can give me will still apply.
Edit: I have discovered that changing my LOD settings (specifically r_lod to 1 instead of the default -1) fixes it for me. But I would still like to know how I can make these packs visible to all players regardless of their LOD settings.
Edit 2: Somehow, this issue doesn't seem to affect other peoples' maps. As a test, I re-compiled a decompiled koth_viaduct and took a look at some of the packs from thousands of HU away with the lowest LOD settings, and yet they still render. How? The entities are exactly the same. In fact, I copied these mysterious working packs into my map (near the spot in picture one) and they stopped working. So it is something about my map. But what?
I have attached images from my view in Hammer++. One just viewing this area normally and one with the portal file loaded. Maybe this will help someone more knowledgeable than me figure it out.
Image 1:
Image 2:
Image 3:
Last edited: