View Full Version : how to bump map
3tehakanyuksel
24th December 2002, 15:23
:bump: Is there a tutorial for bumpmapping with q3map2? Or can anyone send a shader example using bumpmap feature?
cloudscapes
26th December 2002, 03:13
You'll need to do two things. Convert a bumpmap using nvidia's normal-map plugin (free):
http://developer.nvidia.com/view.asp?IO=ps_texture_compression_plugin
It generates splashes of pink/blue out of your grayscale bumpmap image but that's normal. :) Afterwords add the q3map_normalimage [image] key in your shader. A smaller q3map_lightmapsamplesize also helps to get details too. It's generated during lightmap stage, non-realtime. :moo:
ydnar: was that bump example map I made specifically for a tutorial or just an example? :)
Oh and btw, hello everyone I'm new here. :D :D :D
-Etienne
www.cloudscapes.tk
3tehakanyuksel
26th December 2002, 08:50
textures/bump/shd_bump_01
{
qer_editorimage textures/metal/metal_30.tga
q3map_normalimage textures/bump/bump_30.tga
q3map_lightmapsamplesize 4
q3map_lightmapSize 512 512
{
map $lightmap
rgbGen identity
}
{
map textures/3te_metal/metal_30.tga
blendfunc filter
rgbGen identitylighting
}
}
I use this shader for bumpmapping. When i enter q3 I see a black plane.
my q3 version is 1.31
my light process uses these swithches:
-light -fast -fastgrid -super 2 -filter -patchshadows
my q3map vesion is q3map_2.3.33
what is the problem here?
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.