Bumpmapping.


(Death knight) #1

Hiya there.
I have got two questions about bumpmapping.
First: What the h… is the thing with the worldspawn.I don’t have an idea where or what I should do there.
Second: How is bumpmapping at win2k?Can this workfine?
Now about my bumps.
I have two textures the standart and the bump
Then the shader:
textures/concrete/block_original
{
qer_editorimage textures/concrete/block_original.jpg
q3map_normalimage textures/concrete/block_bump.tga
{
map $lightmap
}
{
map textures/concrete/block_original.tga
blendfunc gl_dst_color gl_zero
}
}
I don’t know much about coding shaders.
But it might be nice if you can tell me if I’m right with that here.
Now the two textures:

I also don’t know if I can use a jpg file but I think so.It might be better I think if the two textures saving as a tga file and have alpha channels filled with 50% grey or white.
Then in yndars map converter at light.
Tresh:5
Super:2
This might be right I think.
But something is wrong.Please tell me what the h…I make wrong there.
Thanks in advance.
Later, reptile.