How does Minecraft compute lighting for it's non-block objects?

Posted by Darestium on Game Development See other posts from Game Development or by Darestium
Published on 2012-02-29T08:34:41Z Indexed on 2012/04/15 17:50 UTC
Read the original article Hit count: 448

Filed under:
|
|
|

I was wondering how the creator of Minecraft went about lighting the objects (player and pickaxe) based on the lighting level around the player. I have implemented the ability to light the blocks around the player but I can't really think of anyway to implement with objects. Also, when I the player moves and the lighting values change will I have to rebuild it's vertexbuffers? Or is there some other way?

Any ideas?

© Game Development or respective owner

Related posts about XNA

Related posts about lighting