View Full Version : Shader Command tcGen environment
11-01-2003, 08:26 PM
Could someone please how "tcGen environment" affects your shader stage? I think it's suppose to link it to the environment somehow but I don't understand exactly what it does.
11-08-2003, 08:48 PM
blendFunc GL_ONE GL_ZERO
blendFunc GL_DST_COLOR GL_SRC_COLOR
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
Does this: http://usuarios.lycos.es/jedimasterpayne/shot01.jpg
"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.
vBulletin®, Copyright ©2000-2014, Jelsoft Enterprises Ltd.