Hi,
I’ve got two questions:
- How do I make a blend shader.
- How do I light up my models.
Blend:
I don’t know I’m using the right word for it, but I want a shaders which puts 2 shaders together for a smooth transition (like sand to rock texture).
I’ve allready got this:
textures/lost_phong/sand_to_rock
{
q3map_shadeangle 90
q3map_nonplanar
qer_editorimage textures/lost_map/sand_to_rock.tga
surfaceparm landmine
surfaceparm gravelsteps
{
map $lightmap
rgbGen identity
}
{
map textures/lost_map/sand.tga
blendFunc filter
}
{
map textures/lost_map/rock.tga
alphaGen vertex
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
}
And this is the result:

I tried more things, but thisone looks the most…
How do I get half rock half sand instead of two mixed shaders?
Light:
I made a model which stands in a building’s shadow:

It is a pretty dark model, so I like to light it up a bit. Whatever I do with light entity’s, it doesn’t seem to work. I don’t want to make a gamemodel, because the model is in a position which is difficult to clip.
How do I light up my model?
Thanks in advance and sry for my possible, bad English. 