-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Type: BugThis is a problem with something that should be working one way, but isn't.This is a problem with something that should be working one way, but isn't.
Description
Describe the bug
Static props don't get lit when using cascade shadow mapping. The map does not matter., it happens everywhere. The only fix is to use -StaticPropLightingOld.
My guess is that the new compiler does not compile ambient map / shadow map for static props, so they get ignored by engine in-game. As proof, I will cite the fact that it takes longer to compile with -StaticPropLightingOld.
To Reproduce
- Place
light_environmentwith the following settings:_light 255 255 255 200_ambient 255 255 255 20,angles -72 295 63,pitch -72 - Place
env_cascade_lightwith the following setting:color 255 255 255 1 - Place any prop (prop_physics_override, prop_static, prop_dynamic)
- The prop will not receive CSM lighting.
Example Map
The map - https://drive.google.com/file/d/1Ig5LIzG-cqVS-oRi0leRDgeivQs3Kh92/view?usp=sharing
VMF - https://drive.google.com/file/d/1KHYm76Y-_NkdEWN9Uu0unTMyQ3zOkIwO/view?usp=sharing
Expected Behavior
The props should be lit up no matter the command line. If this is some sort of optimisation, then this is bad.
Operating System
Windows 11 24H2
Metadata
Metadata
Assignees
Labels
Type: BugThis is a problem with something that should be working one way, but isn't.This is a problem with something that should be working one way, but isn't.