hi its me again with another shader question. how do i make a cool reflecting floor like that seen in siege_destoyer2?
any help is much appreciated.
never mind as soon as i posted this i got mine to work ^^
Errr, I've been wanting that too. Could you please post how you did it?
it is just a shader with a reflecting, some of tham have it, some dont, just finding one that has, unless you want to make a shader
So... Would you mind just listing out some examples? Of course, I know there are some.
the one that i am using for my space map is in byss and is black, cannt remember the name, but if you have a look there you should see it
Hmm
I'm making my own textures, so I have to know which parts of the shader are vital to the reflecting thing. Please post the code...
Just look at asteroids.pk3 and there that nice File asteroids.shader:
textures/asteroids/mirror_floor
{
qer_editorimage textures/asteroids/qer_mirror.tga
surfaceparm forcefield
portal
q3map_nolightmap
sort portal
{
map textures/asteroids/floor02_alphac
blendFunc GL_ONE GL_ONE
}
{
map textures/asteroids/qer_mirror2b
blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
depthWrite
alphaGen portal 256
}
}
:D