Smart_Saber Posted July 23, 2002 Posted July 23, 2002 I don't know where, but somehwhere in the game, there was a window, and there little rays of light coming from it. Not actual light, I'm almost certain it was just a texture, but I can't find the texture!If any one has used this on their map, could the direct my to the texture? Thanks. --Smart_saber
Smart_Saber Posted July 24, 2002 Author Posted July 24, 2002 Come on, someone's gotta know! My entire (sort of. Well, not really.) map depends on it!
RichDiesal Posted July 24, 2002 Posted July 24, 2002 What you're talking about is a beam shader, and there were none included JK2. You could steal one from Q3A if you wanted, though.
Karshaddii Posted July 24, 2002 Posted July 24, 2002 Heh, heh, I like our moderator---he's on the Dark Side = )
RichDiesal Posted July 24, 2002 Posted July 24, 2002 That is the better path, really. But I wasn't about to explain how to make a shader to do that. Go ahead Emon. Glad you volunteered.
Emon Posted July 24, 2002 Posted July 24, 2002 Yeah, right. Last time I made something for someone I didn't know yet got pissed because it wasn't exactly what they wanted. You help someone, and they get demanding like that. I hate it.
Smart_Saber Posted July 24, 2002 Author Posted July 24, 2002 Heh, um, so how does one make a shader? I certainly hope it's not with shaderEd (or whatever it's called. The one that's included in the package), because for some reason, it says I can't view the shaders if I don't have NT or 2000 (neither of which I have) and I don't think it will work if I try to make one.
Emon Posted July 24, 2002 Posted July 24, 2002 You could just make it by hand, or use the Q3 Shader Editor. Problem with that is it doesn't support some of the new stuff that's added from the SOF2 code base.
Green Hornet Posted July 25, 2002 Posted July 25, 2002 ok i need the same thing so any advice or tips on making a beam shader would be really cool thnx:monkey4:
Green Hornet Posted July 26, 2002 Posted July 26, 2002 bump. . . also if anyone reads this i am using textures from a mvie that my friend gave me. they are bitmaps. when i changethem to jpegs they wont show up in radiant (it says that my textures have a space in them). thx fo rthe help
silverwest Posted July 26, 2002 Posted July 26, 2002 first use a paint program and make a gradient that fades from light gray (or some other color) to black. give it dimensions that are powers of two and name it beam.jpg and save it in textures/yourmap and here's the shader: textures/yourmap/lightbeam { qer_editorimage textures/yourmap/beam.jpg q3map_nolightmap surfaceparm nonopaque surfaceparm nomarks surfaceparm trans surfaceparm nonsolid { map textures/yourmap/beam blendFunc GL_ONE GL_ONE rgbGen wave sin 0.05 0 0 0.2 tcMod turb 1 0.02 0 0.2 } } Alter the number in bold to get the right brightness you want (and you don't have to recompile each time you change it.) This is a shader from my map, Yavin Twilight (there's a post about it.) Now that you've gained from my help, I fully expect you to download my map when it comes out.
Green Hornet Posted July 28, 2002 Posted July 28, 2002 sorry silverwest but i dont use any paint program very much. how do you make a gradient (do you mean a grayscale)? and i guess microsoft paint wont be able to make a beam texture will it? also can anyone help me with my other problem two posts up
Triton1050 Posted July 28, 2002 Posted July 28, 2002 I don't beleive you can make a gradiant with mspaint , its very limited and if I had to make anything with it ,other then something when I'm bored in class, I'd prolly kill myself
winner_rex Posted July 28, 2002 Posted July 28, 2002 I will be making one for use as a spotlight in my map...I may release the individual shader
winner_rex Posted July 28, 2002 Posted July 28, 2002 ok here it is http://home.adelphia.net/~nraec1/beam.zip
Karshaddii Posted July 30, 2002 Posted July 30, 2002 Well--actually--do you know what the two best things about XP are? (sarcastic post) Paint and Notepad--really!--They have been re-amped and are MUCH more powerful than before.
Green Hornet Posted July 30, 2002 Posted July 30, 2002 hey guess what i dont have xp!!!! now i bet you feel like a. . .
Emon Posted July 30, 2002 Posted July 30, 2002 The "amped up" Paint and Notepad in 2K/XP consist of a CTRL-S key for saving and like a better streach option.
Green Hornet Posted July 31, 2002 Posted July 31, 2002 rex i cant get this to work i put the texture on where i want the beam to go but it just shows up as the texture repeated. do i need to have all surfaces of the beam be covered? and will this only work on light emitting surfaces? and i feel dum just explain a little bit about whati do next and i would REALLY appreciate it.
Green Hornet Posted July 31, 2002 Posted July 31, 2002 ok i figured a lot out on my own but when i load the map fortesting it just comes out as a black shader with white lines all over it. it isnt solid so i know the shader text is right i just cant see it. any thoughts or help.
winner_rex Posted July 31, 2002 Posted July 31, 2002 ok use the red and black shader, not the beam texture. you will need to modify the shader in notepad so it shows the name of your map. Also, put the textures in a .PK3
Green Hornet Posted July 31, 2002 Posted July 31, 2002 i changed the shader file already. and like i said in my map it only shows up as a blackshader with little white lines on it. it doent look like the black and white texture you gave (i hink thats what you think) it comes out like this when shaders dont show up (all black with white lines) so basically everything works but it wont show up in my map.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.