graves Posted July 10, 2003 Posted July 10, 2003 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?
CortoCG Posted July 10, 2003 Posted July 10, 2003 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.
graves Posted July 10, 2003 Author Posted July 10, 2003 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.
graves Posted July 13, 2003 Author Posted July 13, 2003 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.
Lil Killa Posted July 13, 2003 Posted July 13, 2003 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:(
Wanderer Posted July 15, 2003 Posted July 15, 2003 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.
graves Posted July 15, 2003 Author Posted July 15, 2003 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
CortoCG Posted July 15, 2003 Posted July 15, 2003 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.
|GG|Carl Posted July 31, 2003 Posted July 31, 2003 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?
graves Posted July 31, 2003 Author Posted July 31, 2003 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.