I've been interested in adding some bumpmapping to objects, and was wondering if anyone had some kind of example? I've looked around the net, and couldn't find many 'code' examples, just the actual programs.
I think it would, according to this page (http://www.neilwallis.com/java/bump1.htm), require a 'bumpmap', or some kind of reference to adjust pixels with, but I'm not sure how I would get the correct pixel lighting using this map.
Anyone have any examples? It would be much appreciated, and would be able to teach me a lot about directly changing pixel information...
Thank you! Nullium
|