Basically, I’m trying to make a game using 2D sprites that move in a 3D space. I’m trying to get a lighting effect like the one here, where characters are 2D sprites but cast shadows onto the 3D geometry.
From what I’ve gathered, I need to turn my 2D sprites into a 3D object, since sprites won’t cast shadows. I’ve tried a couple solutions but none have worked so far:
- Placing the sprites onto planes/quads and using those instead. This just hasn’t displayed my sprites properly, and I feel like doing this would make animating sprites a nightmare.
- Using an external program (like Blender) to turn my sprites into planes and use those. The issue is I have no idea how to use blender or how I would animate using this, and haven’t been able to find a tutorial that shows me what I want (and I don’t really want to learn the entirety of blender just for this one thing).
- This one was just an idea, and I have no idea if it even exists, but using really thin voxels. Basically, if there’s a voxel program that allows you to adjust the depth of the voxels that would solve all of my problems.
I really want to use this kind of lighting, and I’ve reached the point where I can’t move forward in my prototypes anymore without figuring this out, unless I want to redo all my work. Any help is appreciated.