momentum-mod / game

Momentum Mod - Standalone Source Movement Speedrunning (READ README)
https://momentum-mod.org
Other
525 stars 209 forks source link

No prop shadows for prop_dynamics #1272

Open lvaness opened 3 years ago

lvaness commented 3 years ago

Describe the bug This is the long awaited sequel to #1122. Dynamic ~and static~ props don't have shadows currently on Linux.

To Reproduce

Expected behavior The prop should cast a shadow

Screenshots ahop_coast0000

Desktop/Branch (please complete the following information):

Additional context Also verified by Juice on Discord

I tried a few different shader/shadow quality combinations, but nothing changed.

tsa96 commented 3 years ago

Not seeing prop shadows on ahop_coast on Windows either, they work on 0.8.7. Some shadows from props on ahop_orange work on both 0.8.7 and Chaos, it may be that prop_dynamic entities don't?

lvaness commented 3 years ago

Yeah you're probably right, you mean the water tower thing on ahop_orange?

Gocnak commented 3 years ago

Imbellis has confirmed these are prop_dynamic_override(s), modified the title to match. Haven't looked into the code behind it yet myself.

braem commented 3 years ago

Not seeing prop shadows for any dynamic props (middle is prop_static): image 0.8.7: image This is on windows as well.

Map (uses a tf2 prop): https://cdn.discordapp.com/attachments/781445540386832384/828471588911054858/lighttest.bsp https://cdn.discordapp.com/attachments/781445540386832384/828471636272742450/lighttest.vmf

Gocnak commented 3 years ago

Is this even something we want to fix given there's CSM now?

braem commented 3 years ago

Is this even something we want to fix given there's CSM now?

I'd say yes; CSM is mainly for outdoor lighting to my knowledge and quite a bit of maps are entirely inside. Though i suppose a projected texture might be a better way of doing that.

Also - still occurs on Chaos.