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 → Shading Help
Shading Help
2002-08-27, 2:45 PM #1
Hey, first time shader here.

Anyway, I am making a clan release skin for QQJJz, based off of VampD's model. I have a shader set up for the eyes, but I can't get it to work. Here is what I have:

shaders/qqjjz.shader:
Code:
models/player/qqjjz/mouth_eyes
{
	{
		map models/players/qqjjz/mouth_eyes_g.tga
	}
	{
		map models/players/qqjjz/mouth_eyes.tga
		blendfunc blend
		rgbGen wave triangle 1 2 1 1
	}
}


Whats wrong is that the mouth_eyes_g is not replacing the eyes in mouth_eyes.

And my TGAs are based off of the tuorials at planetquake located here, mabey I have to make the part of the mouth_eyes that has the eyes to be over written a certain color?.

[This message has been edited by Spittor (edited August 27, 2002).]
2002-08-27, 4:19 PM #2
Plug that thing into ShaderEd2, I'll bet it'll scream at you with errors.

Use ShaderEd2, it's much easier.
Bassoon, n. A brazen instrument into which a fool blows out his brains.
2002-08-28, 10:41 AM #3
Your right, heh. I forgot about that program. >_<

Here is what I got:
Quote:
<font face="Verdana, Arial" size="2">
* Stage 1 has a file-not-found: "models/players/qqjjz/mouth_eyes_g"
* Stage 2 is not 32bit and has no alpha-gen, but tried to alpha-blendSrcBlend = GL_SRC_ALPHA, DstBlend = GL_ONE_MINUS_SRC_ALPHA
* Stage 2 has a file-not-found: "models/players/qqjjz/mouth_eyes"
* Shader does not have a lightmap stage, but you forgot to check the 'nolightmap' flag</font>


I'm just going to fiddle with stuff untill it works, if anyone can tell me how to do it, that would make it much easier.

[EDIT], it appears that it is not accepting my TGA, mabey photoshop 5 is incompatible. Can someone can recommend a good TGA editor that I can make alpha channels on?

[This message has been edited by Spittor (edited August 28, 2002).]

↑ Up to the top!