Engine icon indicating copy to clipboard operation
Engine copied to clipboard

Bug: Compiling a map with multiple projected textures disables shadows

Open HugoBDesigner opened this issue 4 months ago • 0 comments

Describe the bug

If you compile a map with four or more dynamic projected textures (as in, ptexes that always update), they'll stop casting shadows, even if you then compile a new map with fewer projected textures. Reloading the map doesn't fix it, you need to restart the game.

Issue Map

In this file is an example map. If you check the VisGroups, disable "PUZZLE_01" and enable "TEST_ROOM". By default, it has three cubes with dynamic ptexes. If you compile the map, it should work as expected. But there is another VisGroup, called "OTHER CUBES". If you then enable it and compile, all projected textures will stop casting shadows. If you then disable that VisGroup and recompile (back to how it worked on the first compile), it'll remain shadowless until you restart the game. chroma.zip

To Reproduce

(already described in the other sections)

Operating System

No response

HugoBDesigner avatar Aug 09 '25 01:08 HugoBDesigner