I’m working on my new map and when I tryed put a bump mapping in one room in which where lightstyled light this light stop working. Maybe I’ve made some mistakes in shaders, I’m not sure.
Bump sharder:
textures/mxl_norm/tester_bump
{
qer_editorimage textures/mxl_norm/tester.tga
q3map_normalimage textures/mxl_norm/testernorm.tga
{
map textures/mxl_norm/tester.tga
rgbGen identity
}
{
map $lightmap
}
{
map textures/mxl_norm/tester.tga
blendFunc GL_DST_COLOR GL_ZERO
}
}
My light styles & entity setup:
"classname" "worldspawn"
"_style1alphaGen" "wave sin .5 .3 .25 1.5"
"_style1rgbGen" "wave noise 0.5 1 0 5.37"
...
...
"_color" "1.000000 0.995560 0.223941"
"light" "700"
"origin" "232 -176 152"
"classname" "light"
"style" "1"
...
And this is shader generated by q3map2:
// Custom shader file for xxx5__.bsp
// Generated by Q3Map2 (ydnar)
// Do not edit! This file is overwritten on recompiles.
xxx5__/35B318D14C33B602B4817B7BC31A35D3
{
qer_editorimage textures/mxl_norm/tester.tga
q3map_normalimage textures/mxl_norm/testernorm.tga
{
map textures/mxl_norm/tester.tga
rgbGen identity
}
{
map $lightmap
}
{
map textures/mxl_norm/tester.tga
blendFunc GL_DST_COLOR GL_ZERO
}
}
Lightmaps are also saved properly in maps/<mapname>. No errors are reporeted in game(Quake3).
Thanx for help!

