Handmade Hero » Forums » Code » Does Casey finish the 2d lighting stuff?
boagz57
Jason
100 posts
#20873 Does Casey finish the 2d lighting stuff?
2 months, 1 week ago Edited by Jason on April 8, 2019, 11:51 a.m. Reason: Initial post

I've recently finished watching up to day 104 which seems to finish up the 2d lighting stuff. At the end of the lighting discussions Casey was able to show reflections from above and below an object. However, throughout the lighting episodes Casey never went into how to solve the problem of reflection through the middle of an object in 2d. I've searched around a bit and couldn't find that topic. I was wondering if Casey ever did figure out how to properly light the middle portion of objects in 2d or if he finished the 2d lighting stuff at all and what episodes those are.
mrmixer
Simon Anciaux
616 posts
#20876 Does Casey finish the 2d lighting stuff?
2 months, 1 week ago

I don't think Casey's gone back to that. At the moment, handmade hero uses a mix of 3d graphics (wall and floor) and 2d sprites for characters, with lighting using raycast to simulate global illumination.
boagz57
Jason
100 posts
#20878 Does Casey finish the 2d lighting stuff?
2 months, 1 week ago

Damn, that sucks. Would you know if any good resources on how to properly light a 2d game? Or the different techniques one could use? I'm a complete noob when it comes to lighting.
mmozeiko
Mārtiņš Možeiko
1934 posts / 1 project
#20880 Does Casey finish the 2d lighting stuff?
2 months, 1 week ago

There is no such thing as "properly" lighting in 2d game. Because real light works in 3d. So any 2d game just uses bunch of tricks or approximations to achieve the look they want. It all depends on what kind of look you want to get.
mrmixer
Simon Anciaux
616 posts
#20881 Does Casey finish the 2d lighting stuff?
2 months, 1 week ago

You can search for developer talks about 2d games you liked. Often it the game looks good there are articles or videos about them because people asked about it (so you can also ask a developer for information).

Here is an example: Unite 2014 - Dungeon of the Endless Rendering and Procedural Content.
You can also try to "study" games you like to figure out how they do the rendering.
boagz57
Jason
100 posts
#20883 Does Casey finish the 2d lighting stuff?
2 months, 1 week ago

Alright, thanks for the input guys. I'll see what I can do.