CSP Index error

Started by KenshinX, September 23, 2009, 03:18:36 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Use smashbox for these firstly, and secondsly, image > mode > RGB, then do what i said before.
Zephiel:
You know what I really like on my stack smash?
Texture updates.

Androu1:
@Zephiel: “your” Stack Smash?

I tried doing it through smashbox, the CSP is in but It has a magenta box around it.

You mean a magenta outline?
Zephiel:
You know what I really like on my stack smash?
Texture updates.

Androu1:
@Zephiel: “your” Stack Smash?

Quote from: VILE on September 25, 2009, 10:29:28 AM
You mean a magenta outline?

Ya, it shows the character but the background is all magenta

Then the magenta is not FF00FF.
(8:15:26 PM) Vyse: I hope you get raped by a lumberjack
(8:18:16 PM) Vyse: >:|
(8:21:52 PM) Vyse: Two of them.

Quote from: Shadow on September 25, 2009, 01:49:19 PM
Then the magenta is not FF00FF.
Hmm, I've tried filling the background with FF00FF and it still gives me the magenta outline around the character. Is there something I'm missing? Sorry for all the questions.

Quote from: KenshinX on September 27, 2009, 06:37:44 AM
Quote from: Shadow on September 25, 2009, 01:49:19 PM
Then the magenta is not FF00FF.
Hmm, I've tried filling the background with FF00FF and it still gives me the magenta outline around the character. Is there something I'm missing? Also just to be sure does channels effect anything? Its set on 8. Sorry for all the questions.

You're getting a magenta outline because of this:

Quote from: VILE on September 24, 2009, 12:04:59 PM
Add magenta in before indexing and index without transparency checked.

This is extremely bad advice.

Once you've got your CSP set up how you want it, index. Do not add magenta yet. Index with one less color than necessary. Go to the palette. In Photoshop, this is at Image>Mode>View Palette (or whatever, it's the very last option in the list). In GIMP, it's at Windows>Dockable Dialogs>Color Map. Add magenta as the last color. Make a new layer and fill it with magenta, then move it under the layer with the picture. You're done.

You can't use magenta for transparency when using SmashBox to insert custom portraits; the portrait keeps its magenta background, even if it's perfect magenta (#ff00ff).  The background has to be completely transparent.  However, TarGA images don't have an Alpha Channel when indexed, so you may have to save the portraits as PNG images instead.

In a similar manner, indexed textures need to be treated like this as well.