Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsJedi Outcast and Jedi Academy Editing Forum → What the hell is a shader?
What the hell is a shader?
2002-03-31, 1:36 PM #1
?
2002-03-31, 1:43 PM #2
It's kinda...a thingy...that changes the way the engine draws the texture/surface. You can use shaders for glowing or chrome effects...and...stuff. I'm just as confused as you are. [http://forums.massassi.net/html/confused.gif]
2002-03-31, 1:47 PM #3
A shader is an extension of a typical texture. While a normal texture can only be a flat surface, possibly with a transparency map, a shader can specify many additional properties. In q3, a shader can cause a texture to move, as a liquid does, to be shiny, emit light, be translucent, animate, etc.
Capitalization
Commas
Periods
Question Marks
Apostrophes
Confusable Words
Plague Words
2002-03-31, 3:30 PM #4
oooooooo
2002-03-31, 3:52 PM #5
A shader is a text file script with the same name of it's texture. It lists other textures used by that texture and what effects are applied to them eg. rotation, scrolling, zooming etc. Think of it as a multi-layered texture.
2002-04-01, 12:59 AM #6
Is there a list with all commands I can assign to a texture in the .shader? This would be really helpfull in making sabers with new colors.
2002-04-01, 6:15 AM #7
Read the shader manual.
2002-04-01, 7:09 AM #8
Thx, I've read the manual now. But I didn't find a solution to my problem.
I have a white saber, but the the orange glow instead of grey.
[http://www.uwg-oer-erkenschwick.de/SWJK2/shotwhite1.jpg]
[http://www.uwg-oer-erkenschwick.de/SWJK2/shotwhite2.jpg]
[http://www.uwg-oer-erkenschwick.de/SWJK2/shotwhite3.jpg]

You see the problem? Any idea how to change this? I really need the help!!!
2002-04-02, 11:08 AM #9
assets0\shaders\saber.shaders

Look in that file and replace the orange entries, and it should solve your problem....

[This message has been edited by Hell Raiser (edited April 02, 2002).]
-Hell Raiser
2002-04-02, 12:55 PM #10
did you notice that this shader points to tga files that don't exist?

------------------
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides cherokee)
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides Cherokee)
2002-04-02, 1:20 PM #11
It doesn't, the Q3 engine looks for the tga file first, then if it doesn't find it, it looks for the jpg equivalent.
Detty. Professional Expert.
Flickr Twitter
2002-04-02, 1:51 PM #12
I changed that tga or jpg files that are in the sabers.shader, but that doesn't help.

I also kept the name "orange" except making all with "silver" in the name, but it doesn't work for the blur and glow.

The other textures work fine, as you can see on the first screenshot.
2002-04-03, 10:41 AM #13
You're gonna love shader editing. The things you can do with them are amazing. When Raven finally get around to releasing the editor we're going to start seeing some astounding maps.

↑ Up to the top!