My latest attempt can be found in this testwad.
Can anyone please have look and tell me what is wrong an how to fix it.
Currently the decals are displayed in the game in only 2 colors.
For the bullet CHIPs the black is displayed as black, while it should be transparent
and the white looks transparent while it should be black. Furthermore there is no 'in between'; pixels are either black or transparent, but never semi-transparent.
The same goes for the blood splatters (only with the color red instead of black).
One funny thing with the blood splatters is that they are displayed in red (wrong pixels though) in my project, but black when used with the original zdoom. Perhaps because my project uses a different palette?
Saving them with different image programs doesn't work. Running the pictures from a zip instead of a wad doesn't work. Inverting the palette doesn't work.
I asked Enjay for help and he is just as confused as I am.
He e-mailed me:
Has anyone ever made custom decals with semi-transparency that worked? If so how?The graphics seem to work in GZdoom.
The graphics show the problems that you detailed in ZDoom.
Nothing that I did with different palette values, bits per pixel values etc fixed the problem.
Saving them as TGAs did not solve the problem.
Saving them as paletted PNGs with built in transparency made them look a bit better but they broke in GZdoom.
Saving them as Doom format graphics did seem to resolve a lot of the problems but they would need a lot of "cleanup" to be perfect as there were quite a few stray pixels - probably more down to my method of doing it rather than anything else.
thanks