View Full Version : bump mapping tutorial in 2d anyone ?
02-06-2004, 07:54 AM
Does anybody know good bump mapping tutorial (but in 2D, not in 3D) ? Please post a link...
Thanks in advance http://www.opengl.org/discussion_boards/ubb/smile.gif
02-06-2004, 10:49 PM
You can't do bumpmaping in pure 2d, as light/surface must be in 3D. If you wish you can precalculate 3D bm and then use it as texture in 2D, but the math is same 3D. Maybe you thought of Emboss bump mapping?
[This message has been edited by M/\dm/\n (edited 02-07-2004).]
02-07-2004, 12:24 AM
Well, my problem is that my video card is a little old http://www.opengl.org/discussion_boards/ubb/smile.gif (ATI Rage 128 PRO 16 MB) and it doesn't support pixels nor vertex shaders(it has gl_ATI_vertex_shader extension but i can't info how to use it). So i can't do all the cool looking per pixel lighting and so on. What kind of techniqes i can use to give some eye candy to my side scrooler game ? I was thinking of bump-mapping, but because it's side scrooler i dont need it to be true 3D.
Well, can anyone tell me what cool looking effects can i do with my hardware ? Post any ideas, suggestions...
02-07-2004, 02:30 AM
As I allready mentioned EmbossBumpMapping -> @ nehe.gamedev.net &@ developer.nvidia.com
But I thimk you should be able to use Ati_v_s ->look at ext regitry.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.