lfnetwork.com mark read register faq members calendar

Thread: shader blending
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 03-18-2006, 02:57 PM   #1
{NJO}*Dark
Rookie
 
{NJO}*Dark's Avatar
 
Join Date: Feb 2004
Location: cyberspace.co.uk
Posts: 149
shader blending

what is the shader blend line to make parts in black not be shown?


~Dark
{NJO}*Dark is offline   you may: quote & reply,
Old 03-19-2006, 08:48 AM   #2
Fracman
 
Fracman's Avatar
 
Join Date: Jan 2003
Location: Germany
Posts: 501
you could do it in different ways...

the easiest - with shader only - is the "add" function,
but this is usually used for glow stages:

blendfunc GL_ONE GL_ONE

The other possibility is to use alpha functions.
The texture you want to blend must be saved as PNG or TGA with an Alpha channel,
which tells regions of the image that are more ore less transparent (depending on the gray value: black: totally opaque, 50% grey: 50% transparent, white: totally transparent - or the inverse).
The transparency degree can be also adjusted by the shader.
Using alpha channels, there are much more possibilities,
but it is also more complex.
You would have to play around with the shader editor.


Dark Forces MOD for Jedi Knight: Jedi Academy
http://darkforces.jediknight.net

DFMOD Demo for JA released !!!
Fracman 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 Mapping > shader blending

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 01:06 PM.

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