lfnetwork.com mark read register faq members calendar

Thread: Shader Command tcGen environment
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 11-01-2003, 07:26 PM   #1
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,172
Shader Command tcGen environment

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.


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 11-08-2003, 07:48 PM   #2
Master_Payne
 
Join Date: May 2002
Location: 3327' S - 7031' W
Posts: 160
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.
Master_Payne is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > JediKnight Series > Editing Central > JA Skinning > Shader Command tcGen environment

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:43 PM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.