Shader help (Darkplaces)
Posted: Thu Oct 16, 2008 8:56 pm
I need some help. I want to make a shader for windows in a texture. I want the window part in the texture to reflect stuff. Everything I've done so far, has not worked.
I've not even been able to get a texture overlay another. Like this here:
The blood texture is not displayed at all (not that I really want additive blood on walls, but it just don't work!). Is Darkplaces shader support limited to only allow one texture in a shader?
I've not even been able to get a texture overlay another. Like this here:
Code: Select all
textures/test/window_basic_one_00
{
{
map textures/test/window_basic_one_00.png
rgbGen identity
}
{
map $lightmap
blendfunc filter
tcGen lightmap
}
{
map textures/liquid/blood.png
blendfunc add
}
}