muitdebos / blender-d2tools

Tools to assist the render pipeline from Blender to Diablo 2
MIT License
7 stars 2 forks source link

The approach to shadows? #3

Open Des-Nerger opened 7 months ago

Des-Nerger commented 7 months ago

Could you add a bit of info on the "right way" of making shadows for Diablo II? Or more specifically, what should be the best material configuration for the z=0 shadow-catching plane?

Generally speaking, since the Blender's "Cycles" which is encouraged to use is a path-tracer, and a D2 graphical scene is constructed from pieces not known ahead of time, there inevitably gonna be some inconsistencies in light paths (even if the game didn't actually do its own shading on top of the pre-rendered assets). So when thinking about things like the shadow-catching plane, the goal I guess is to minimize those inconsistencies, no to eliminate them (because it's impossible). :thinking:

muitdebos commented 4 months ago

Sorry for the very late reply. There are two types of shadows for what I think you're talking about;