Shader noob
Posted: Wed Sep 28, 2005 4:19 pm
How do i get rid of these bright spots?
[lvlshot]http://i2.photobucket.com/albums/y50/Drietand/mapping/shot0000.jpg[/lvlshot]
Shader
[lvlshot]http://i2.photobucket.com/albums/y50/Drietand/mapping/shot0000.jpg[/lvlshot]
Shader
Code: Select all
textures/mar2/topledge
{
qer_editorimage textures/mar2/ledgetop.tga
q3map_surfacelight 300
{
map $lightmap
rgbGen identity
}
{
map textures/mar2/ledgebottom.tga
rgbGen identity
blendfunc GL_DST_COLOR GL_ZERO
}
{
map textures/mar2/ledgetop.tga
blendfunc GL_ONE GL_ONE
blendfunc GL_SRC_ALPHA GL_ONE
rgbgen wave sin 0.9 0.4 0 0.2
}
}