Sprites with black spots
Sprites with black spots
When using graphics (sprites) with their own custom palettes (not PNG images but DOOM gfx with custom game palette) I get strange black spots on some images, it seems to be related to a single color getting replaced with a black one or something. This issue has been around for a while.
EDIT:
You can see stray black and blue pixels on the sprite. The sprite itself does not look like that, it's just in-game.
EDIT:
You can see stray black and blue pixels on the sprite. The sprite itself does not look like that, it's just in-game.
Re: Sprites with black spots
Try running this again, but with the command line switch "-modpallete", and see if the black spots come back.
\(סּںסּَ` )/ۜ
Re: Sprites with black spots
Made no difference. Worth mentioning that I'm using two seperate WADs, one with the custom palette and one with none (default). I would use PNGs instead but the grab feature appears to be broken (I use SLADE to offset the images, 3DGE seems to just ignore it) and I would rather not resort to having to manually offset every single sprite with IMAGES.DDF.
Re: Sprites with black spots
Load your mod with the grab offsets again. If you minimize 3DGE completely, and look at the console window (the one that looks like a DOS prompt), you should see something like this:CeeJay wrote:Made no difference. Worth mentioning that I'm using two seperate WADs, one with the custom palette and one with none (default). I would use PNGs instead but the grab feature appears to be broken (I use SLADE to offset the images, 3DGE seems to just ignore it) and I would rather not resort to having to manually offset every single sprite with IMAGES.DDF.
If you can copy that from the console window and paste it here I can track down your issues. Because I use grAb in a few places, and I get the proper offsets applied. Are you using the latest"Got grAb struct: [nameofimage], X, Y
Devbuild?
But please try and see if you can do that for me, that way I can be sure grAb is being read correctly in your mod.
\(סּںסּَ` )/ۜ
Re: Sprites with black spots
I have the same issue. I was posting about it here: http://www.tdgmods.net/smf/viewtopic.php?f=27&t=2601
Though I got torn away from 3DGE for a while and never went back and replied on that thread. Plus I think at the time I was guessing this -modpallet command was a new addition and I didn't have the latest version, since it did nothing. But I've tried it with the dev build and it still does nothing.
The problem is index 247, which is a pure black in the original Doom pallette. For some reason, even though 3DGE loads a new custom palette correctly for 255 of the colors, it always keeps 247 as a pure black, just like it is in Doom.
Though I got torn away from 3DGE for a while and never went back and replied on that thread. Plus I think at the time I was guessing this -modpallet command was a new addition and I didn't have the latest version, since it did nothing. But I've tried it with the dev build and it still does nothing.
The problem is index 247, which is a pure black in the original Doom pallette. For some reason, even though 3DGE loads a new custom palette correctly for 255 of the colors, it always keeps 247 as a pure black, just like it is in Doom.
Re: Sprites with black spots
I thought about disabling the hardcode and just see what happens. Once I do that, I'll upload that EXE in this thread.
I don't remember why it was clamped to that, though. .
I don't remember why it was clamped to that, though. .
\(סּںסּَ` )/ۜ
Re: Sprites with black spots
Just an update, I'll be pushing a build that fixes this behavior with a CVAR for testing
\(סּںסּَ` )/ۜ
Re: Sprites with black spots
Hooray!
Happy to see this issue resolved at long last.
Happy to see this issue resolved at long last.
Re: Sprites with black spots
Still encountering the issue, but I have a good idea about what might be happening.
Can someone send me a test WAD/PK3 that shows it clearly visible? Want to fix it in DOOM before ROTT.
Can someone send me a test WAD/PK3 that shows it clearly visible? Want to fix it in DOOM before ROTT.
\(סּںסּَ` )/ۜ