Can you shade a specific section of a sprite? If so, how?
Posted
by
l5p4ngl312
on Game Development
See other posts from Game Development
or by l5p4ngl312
Published on 2011-11-29T01:23:59Z
Indexed on
2011/11/29
10:10 UTC
Read the original article
Hit count: 304
I have been working on an isometric minecraft-esque game engine for a strategy game I plan on making. As you can see, it really needs some sort of shading. It is difficult to distinguish between separate elevations when the camera is facing away from the slope because everything is the same shade. So my question is: can I shade just a specific section of a sprite? All of those blocks are just sprites, so if I shaded the entire image, it would shade the whole block. I am using LWJGL.
Heres a link to a screenshot from the engine: http://i44.tinypic.com/qxqlix.jpg
© Game Development or respective owner