Jump to content

Home

shaders tutorial?


graves

Recommended Posts

Posted

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?

Posted

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.

Posted

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.

Posted

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.

Posted

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:(

Posted

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.

Posted

yeah, I tried that. The only thing I found was a Quake III shader manual at:

http://www.heppler.com/shader/

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

Posted

You can download, read or print the shaders bible from http://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.

  • 3 weeks later...
Posted
  Quote
...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?

Posted

models/players/meryl/hair

{

{

map models/players/meryl/hair

blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA

rgbGen lightingDiffuse

}

}

 

 

I think this was the line I used. I'm not too sure though.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...