Vadru93 / LevelMod

THPS3 LevelMod
Other
20 stars 2 forks source link

Shadow issues #49

Open DCxDemo opened 3 years ago

DCxDemo commented 3 years ago

There are several issues with skater casted shadow in the game.

  1. Original shadow is solid black, unlike console versions, where it is semitransparent.
  2. shadow is not filtered if certain CAS objects are selected (probably some specific blending mode conflict)
  3. low resolution, when the bug 2 is active, you can easily see big square pixels.
  4. enabled shadow crashes new levels, hence the bailOn/Off tweaks were introduced in original builds of the mod
  5. current rendering chain disables shadow altogheter, drawing a black texture in the upper left corner instead.
Vadru93 commented 3 years ago

I'm already working on new shadow rendering alltogether. So I don't think fixing that buggy shadow is worth it.

As for why certein items can make shadow buggy, it's probably because those items are rendered before the shadow and some blendmode or zfunc may not have been restored correctly before shadow is rendering. Kinda similar to how when I first added envmap, sometimes skater got envmapped if last object rendered was envmapped.