StrataSource / Portal-2-Community-Edition

Task tracker for Portal 2: Community Edition
https://www.portal2communityedition.com
146 stars 3 forks source link

Bug: Entities with `item_` prefix do not cast any dynamic shadows from `shadow_control` #1681

Open MyGamepedia opened 2 months ago

MyGamepedia commented 2 months ago

Describe the bug

For some reason suit, medkits, ammo, wall chargers, paint power pickup and other entities with item_ prefix don't cast any dynamic shadows from shadow_control. EnableShadow input effects nothing. This doesn't happen with item_item_crate. Also in Portal 2 (you can spawn item_suit and find the issue). This picture shows prop_physics and item_healthkit. 20240417174002_1

Issue Map

HL2 levels, Portal mods, any map with these entities.

To Reproduce

  1. Open any map that use shadow_control shadows.
  2. Enter in the console ent_create item_healthkit.
  3. Note that item_healthkit doesn't cast dynamic shadows from shadow_control.

Operating System

Windows 10, should work in any I think.