fattysbox Posted May 17, 2003 Share Posted May 17, 2003 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 Link to comment Share on other sites More sharing options...
wedge2211 Posted May 18, 2003 Share Posted May 18, 2003 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. Link to comment Share on other sites More sharing options...
fattysbox Posted May 18, 2003 Author Share Posted May 18, 2003 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.