lfnetwork.com mark read register faq members calendar

Thread: Pulsating shader
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 05-17-2003, 08:53 PM   #1
fattysbox
 
fattysbox's Avatar
 
Join Date: Apr 2003
Posts: 67
Pulsating shader

I want to create a shader to pulsate... (Narshadaa/lightshaft)

I have a feeling I need to alter some shader settings, but I have no idea how to do that or where to begin... First of all is that even possible?

OK, if anyone can direct me to the right tutorial, much will be appreciated.



Thanks,

J

fattysbox is offline   you may: quote & reply,
Old 05-17-2003, 09:34 PM   #2
wedge2211
Commander, Rogue Squadron
 
wedge2211's Avatar
 
Join Date: Jul 2002
Location: Ithaca, NY
Posts: 2,320
Look at a shader that does what you want it to, pulsate. Paste that code into a new shader file. Then, go through and check interesting lines of code in the Q3A shader manual (comes with GtkRadiant, and is on the web...somewhere).

In this case, the line you're interested in is rgbGen wave. The shader will probably look something like this:

textures/yourmap/pulsatingshader
{

any surfaceparms go here
{
map textures/yourmap/base_texture
}
{
map textures/yourmap/pulsating_texture
rgbGen wave 0 1 0 2
}

}

That's just a rough idea, though.


wedge2211 is offline   you may: quote & reply,
Old 05-18-2003, 02:54 PM   #3
fattysbox
 
fattysbox's Avatar
 
Join Date: Apr 2003
Posts: 67
Thanks Wedge,

However, I am so newb I do not even know how to create my own shader file or even modify it!! Is the way to change a shader through the code on notepad? OK, I'm going to look for tutorials then...



Thanks anyways,

J
fattysbox 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 > JO Mapping > Pulsating shader

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 11:15 PM.

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