View Full Version : shaders tutorial?
07-10-2003, 12:31 AM
I'm a noob when it comes to shaders. Does anyone know of a good step by step tutorial for creating a .shader file for a player model?
07-10-2003, 04:33 AM
It depends on what you're planning to achieve. A basic shader is simple enough to guide you through this forum. For a start I think it's okay to tell you how to get the most basic shader going right here.
But I need to know what are you looking for first.
About tutorials, I don't know about good tutorials, didn't search neither.
07-10-2003, 07:50 PM
Well, I'm trying to create hair using shaders. Similar to the Wookiee model. I just need to make it 2-sided and alpha out the ends.
07-12-2003, 03:48 PM
OOh I would be interested on this subject too...
07-13-2003, 01:16 AM
Hmm... I tried coping and pasting the "legfur" lines from the wookiee.shader file and renaming whatever needed to be renamed. It seems to work ok but for some reason I can see my saber through it:p Also the transpanency edges aren't as sharp as I would like... Maybe it's just my crappy videocard.
07-13-2003, 04:53 AM
He probably has ridges on the model that has the fur applied to it i dunno you might wanna look at it in a modaling program. if thats not it than I dunno how:(
07-15-2003, 02:21 AM
I would try it over a searchengine. Since JO based on the Q3 engine there have to be some tutorials related to Q3...
they should also work for JO shaders.
07-15-2003, 02:57 AM
yeah, I tried that. The only thing I found was a Quake III shader manual at:
while it is very helpful, it's a little hard to understand... I'm still having problems with the lightsaber showing right through the model. Its driving me insane:p
07-15-2003, 03:03 AM
You can download, read or print the shaders bible from www.qeradiant.com. You can also download the SoF2 sdk and read/print the shader manual from there, cuz it includes the changes made by Raven to the shaders system.
I suggest you to read it, try to understand the concepts and every feature (at least the ones you find usefull) and then experiment for a while.
It's pretty amazing the efx you can achieve by combining several stages with different efxs.
07-31-2003, 02:35 PM
...I'm still having problems with the lightsaber showing right through the model. Its driving me insane:p
I want to get the lightsaber to glow throgh my skin, it's a hologram ugnaught skin, and everything is visible through it, except for the lightsaber...
can you please tell me how you made the lightsaber visible through the body?
07-31-2003, 04:50 PM
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
I think this was the line I used. I'm not too sure though.
vBulletin®, Copyright ©2000-2013, Jelsoft Enterprises Ltd.