Re: [Plib-users] bump maps
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2000-09-22 06:22:21
|
Larry Hess wrote: > Has anyone try do bump map with plib Not that I know of. It's hard to do portably - but for some specific cards, it's not all that hard...you could probably do it without a change to PLIB if you have GeForce because it's just a matter of setting some state in the pre-draw callback and undoing those changes in the post-draw. The biggest issue is that you rarely want *just* a bump map - typically you need a colour map also. That gets us into the whole business of supporting multiple texture maps - which *is* a big deal. This is clearly something we have to address though - graphics cards are increasingly supporting more and more sophisticated multi-pass renderers. In order to do this portably, I think we'll need to implement a 'shader language'...something along the lines of SGI's new shader-compiler - which I believe was just added to Performer. -- Steve Baker HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://web2.airmail.net/sjbaker1 Projects : http://plib.sourceforge.net http://tuxaqfh.sourceforge.net http://tuxkart.sourceforge.net http://prettypoly.sourceforge.net |