6648e2ddd9e25
1 Hour
1 Day
1 Week
1 Month
Forever
Forgotten Password
Sign up
49 Guests, 2 Members
fox, Marvin
Home
Sign up
About
MOTHER
Search
Mobile
Home
»
Community
»
SS2 editing wiki
»
Transparent textures compatible with Dark
6648e2ddda4fe
1 Guest is here.
New topic
Reply
Topic:
Transparent textures compatible with Dark
Read 3275 times
6648e2dddab51
voodoo47
#0
Report
Quote
Reply
27. March 2019, 14:18:35
6648e2dddabbb
If you are creating or modifying object textures that have transparent parts, you might have noticed how easy it is to break them - typically, the texture will display some transparency artifacts, looking like small holes when viewed ingame. Fixing this is quite easy, fortunately - you just need to get Gimp (freeware), and follow the instructions below:
- load the texture into Gimp
- go image/mode, select RGB
- click on the currently selected color, pick a custom color, set it to ff00ff (it's what is being used by vanilla SS2 textures, so lets go with that)
- color all parts that should be transparent with this color
- go image/mode, select indexed
- set it to generate optimum palette, number of colors 254, and convert
- go windows/dockable dialogs/colormap
- rightclick on the ff00ff pixel, choose rearrange colormap, move it to spot 0, click ok
- export as gif (or pcx)
The resulting texture should have proper transparency, both under NewDark and oldDark. I'm guessing the same result can be achieved with other image editing tools as well, as long as they support all the required functionality.
Notes: if you observe similar transparency artifacts on a texture that doesn't need any transparency, saving it as PNG should be enough to fix it (but you could apply the colormap fix as well if you really want to, or if oldDark compatibility is required). If you need transparency, load the texture into Gimp, go Image->Mode, select RGB, go Layer->Transparency->Add Alpha Channel, use the Fuzzy Selection Tool to select all the parts of the texture that should be transparent, hit delete and export as PNG.
Also, remember that all Dark textures should be
power of two
sized.
«
Last Edit: 29. April 2020, 21:17:45 by voodoo47
»
6648e2dddacd2
Kolya
#1
Report
Quote
Reply
10. September 2019, 06:47:53
6648e2dddad2a
The wiki entry describes how to use one colour as transparent. Is there no alpha channel transparency yet?
6648e2dddadd3
voodoo47
#2
Report
Quote
Reply
10. September 2019, 06:56:19
6648e2dddae10
for oldDark compatible (pcx, gif) textures? no, whatever is on spot 0 is treated as transparent, afaik.
«
Last Edit: 10. September 2019, 16:05:29 by voodoo47
»
6648e2dddaefe
ZylonBane
#3
Report
Quote
Reply
10. September 2019, 12:37:50
6648e2dddaf50
In OldDark you use Targa format textures to do alpha transparency.
6648e2dddaff2
Kolya
#4
Report
Quote
Reply
10. September 2019, 13:33:41
6648e2dddb03f
Okay, and in NewDark? I mean, who cares about old dark compatibility anyway?
(I feel like I must be missing something blindingly obvious here.)
6648e2dddb110
ZylonBane
#5
Report
Quote
Reply
10. September 2019, 15:44:45
6648e2dddb166
Uh, in NewDark you can also use PNG with alpha channel. DDS textures with DXT5 compression should also work, though I've never tried it.
I still use TGAs for a lot of transparent stuff anyway because PSP gives you more discrete control over the alpha channel.
6648e2dddb20c
Kolya
#6
Report
Quote
Reply
10. September 2019, 16:07:44
6648e2dddb25b
Shouldn't that at least be mentioned in the wiki entry?
Your name:
This box must be left blank:
In which year was System Shock released:
1 Guest is here.
New topic
Reply
This forum is different from forums I'm normally on.
Home
»
Community
»
SS2 editing wiki
»
Transparent textures compatible with Dark
Contact
SMF 2.0.19
|
SMF © 2016
,
Simple Machines
|
Terms and Policies
Green theme
Brown theme
Bright theme
Match OS theme
FEEP
Loading...
6648e2dddb371