Jump to content

Home

Making Reflective Floors


[-nIx-] Knight

Recommended Posts

Aloha,

You should check out this page

Shiney Floors .

 

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

 

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

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...