lfnetwork.com mark read register faq members calendar

Thread: Making Alpha Skin Channels.
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 12-31-2004, 09:02 PM   #1
Profcorron
Rookie
 
Profcorron's Avatar
 
Join Date: Jan 2004
Posts: 18
Making Alpha Skin Channels.

How do you do this?

(an alpha channel is basically a map that stops certain parts of a skin coming through at different intesities. )
Profcorron is offline   you may: quote & reply,
Old 01-01-2005, 04:44 AM   #2
Pahricida
Junior Member
 
Pahricida's Avatar
 
Join Date: Dec 2003
Posts: 444
well basically it's just a 32 bit .tga file and a shader.

Create your texture... now switch to the channels tab and create a new Chanel called

"Alpha 1"

Now this works like this:

everything that is white in the alpha Shader will be opaque ingame.
Whereas black ares will be translucent.


So if this is your texture:

http://www.level-designer.de/images/...zaubermark.jpg


Your Alpha Shader should look like this:

http://www.level-designer.de/images/...lphafertig.jpg

And the shader should look something like this then:

Code:
textures/fiesling/baum_gruen
{
         surfaceparm trans 
         surfaceparm alphashadow
         cull none
         nopicmip
         
{
         map textures/fiesling/baum_gruen.tga
         blendFunc GL_ONE GL_ZERO
         alphaFunc GE128 
         depthWrite
         rgbGen identity
      }
{
         map $lightmap
         rgbGen identity
         blendFunc GL_DST_COLOR GL_ZERO
         depthFunc equal
      }
}

Ignore the weird pathnames ... everything was stolen from a Tutorial on
www.Level-Designer.de



Pahricida 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 > Making Alpha Skin Channels.

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:42 AM.

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