PDA

View Full Version : Making Reflective Floors


[-nIx-] Knight
06-19-2002, 01:02 PM
I'd like to make reflective floors but I don't know what texture/properties to use can someone help me out?

draxonnijj
06-19-2002, 02:28 PM
Aloha,
You should check out this page
Shiney Floors (http://www.planetquake.com/lordsquart/Tutorials/_english/advanced/tutorial1/main.htm) .

I ended up with the following in my own shader file:
textures/draxon/mirrorfloortest
{
qer_editorimage textures/tests/qer_mirror.tga
surfaceparm forcefield
portal
q3map_nolightmap
{
map textures/tests/qer_mirror2b
blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
depthWrite
}
{
map textures/draxon/flr_b-w
blendFunc GL_DST_COLOR GL_SRC_COLOR
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
rgbGen identity
tcGen environment
}
}

Change the path for the ones that have draxon in it, and
give that a shot... you can also use a texture for the lightmap
area.

Just need to be sure that you have a misc_portal_surface item
near the floor (it can't be more than 64 away from the mirror)

Lord Draxon'nijj
Arch-Mage of Castle Shade

RichDiesel suggested system/mirror_yavin in an earlier thread (I didn't use that one, even for my testing)