Jump to content

Home

Shader Command tcGen environment


razorace

Recommended Posts

models/players/payne/torso

{

q3map_nolightmap

q3map_onlyvertexlighting

{

map models/players/payne/torso_metal.jpg

blendFunc GL_ONE GL_ZERO

rgbGen lightingDiffuse

}

{

map gfx/effects/lmf

blendFunc GL_DST_COLOR GL_SRC_COLOR

tcGen environment

}

{

map models/players/payne/torso.tga

blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA

rgbGen lightingDiffuse

}

 

}

 

Does this: http://usuarios.lycos.es/jedimasterpayne/shot01.jpg

 

*edit. Explain.

"gfx/effects/lmf" is a metallic looking image, "tcGen environment" will make i so as I move (in this case beeing a skin) the environment will be refected on the armor, is aplicable to any surface (skins, maps), it gives a nice metal look, but if polished may work to do a mirror.

Basically creates lightning reflection over the shadred surface.

Hope this helps.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...