Jump to content

Home

Reflective surfaces


JavaGuy

Recommended Posts

Anybody know how to do a surface like the floor of duel bay? It looks like there's just a thin glass brush over the floor brush, but I can't seem to get that cool reflective effect. I tried the portal surface entity, but I obviously got it wrong because what I found myself looking at made me think I was going to have a siezure. :D

Link to comment
Share on other sites

ok first off take that glass off. then make a calk brush that will be your floor than cover the top with mirror_floor2 from the tests texture set. then take a misc_portal surface and stuck it above the floor.

 

be careful with this effect though cause it doubles the fps of your room. (looks sweet though:D)

Link to comment
Share on other sites

Excellent!

 

I wanted to use my own floor graphic for the texture, so I dug into the shader script you pointed out and threw in my own texture.

 

textures/sandcrawler/myfloor

{

qer_editorimage textures/sandcrawler/myfloor

surfaceparm forcefield

portal

q3map_nolightmap

{

map textures/tests/qer_mirror2b

blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA

depthWrite

}

{

map textures/sandcrawler/myfloor

blendFunc GL_DST_COLOR GL_SRC_COLOR

}

{

map textures/kejim/env_newfloor_kej

blendFunc GL_ONE GL_ONE

rgbGen const ( 0.200000 0.200000 0.200000 )

tcGen environment

}

}

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...