This happen because of player's physicsshadowclone, dynamic shadow rendering is not disabled for it in the game code.
This is what real happening.
Issue Map
Any map where used portals with env_projectedtexture or CSM. For example, it is available to see in Portal 2 campaign and even some Portal mods (CWTH for example).
Describe the bug
When you stay between portals you are able to see weird player's shadow from projected texture or CSM, even if third person is disabled.
https://github.com/StrataSource/Portal-2-Community-Edition/assets/103366204/6ec1c9a0-cf5c-44a6-8e09-117e9eb7e1ba
This happen because of player's
physicsshadowclone
, dynamic shadow rendering is not disabled for it in the game code. This is what real happening.Issue Map
Any map where used portals with env_projectedtexture or CSM. For example, it is available to see in
Portal 2
campaign and even somePortal
mods (CWTH for example).To Reproduce
sp_a2_triple_laser
). testertest_rendersandcsm.zipExpected behavior No shadow in this case (only if some special cvar or third person is not enabled).
Operating System
Any.