Posted: Tue Jul 28, 2015 9:58 am Post subject:
Shadow issues
So I finally got around to modding OpenRA & added some vxl units to RA1. All is working fine except that voxels have multiple shadows in multiple directions! I guess I'm missing something somewhere? _________________
Joined: 22 Nov 2010 Location: Iszkaszentgyorgy, Hungary
Posted: Tue Jul 28, 2015 10:07 am Post subject:
Show me codes. I guess you left a sprite-based render trait on the unit (is this release, playtest or bleed?) somewhere which still renders an additional shadow. While RenderVoxels do render shadow for all renderable sections, the light parameters are shared between them so that cannot cause it. _________________ "If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more... QUICK_EDIT
Joined: 22 Nov 2010 Location: Iszkaszentgyorgy, Hungary
Posted: Tue Jul 28, 2015 10:46 am Post subject:
Add a -WithFacingSpriteBody: to the unit. This removes the WithFacingSpriteBody from the inherited ^Plane and should fix the issue.
Oh wait, I looked at bleed. WithShadow is the cause on ^Plane. -WithShadow: onto your unit then. _________________ "If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more... QUICK_EDIT
Joined: 22 Nov 2010 Location: Iszkaszentgyorgy, Hungary
Posted: Tue Jul 28, 2015 11:07 am Post subject:
Then you'll go mad, reaperr reorganized the mods since then to reduce cluttering - TS is now inheritance, inheritance everywhere! _________________ "If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more... QUICK_EDIT
Well I can see it being useful. D-day has multiple variants of some units, having one set of code used by them all will save time & space. _________________
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum