warzone2100
warzone2100 copied to clipboard
Opaque structure bases ignore shadows
Describe the bug Shadows no longer appear drawn on structure bases (see HQ).
To Reproduce Enable shadows, look at the shadow of a HQ.
Expected behavior Shadows should be visible on opaque base plates... not suddenly appear outside the bounds of the base plate.
Your System:
- Game version: master
Additional context Caused by commit 7a5a14c43ad83ba0eb0da56fe3301b9d921496df.
@past-due Our draw order is currently: opaque->shadows->translucent. Because the baseplates are now being forced to be translucent (again) they will be drawn over shadows. If you think it's ok, I can change it so shadows get drawn last and thus will draw over everything.
Doing so will mean shadows will appear on things like blueprints, assembly points, baseplates... and whatever else.
Any updates on this? Is there no way to have shadows on baseplates while not having them on assembly points? I think that would interfere too much since you want to see those (?).
With the shadow mapping PR this is no longer an issue.