Ludeon Forums

RimWorld => Mods => Help => Topic started by: CannibarRechter on August 23, 2017, 08:45:25 AM

Title: PNG textures and alpha/transparency
Post by: CannibarRechter on August 23, 2017, 08:45:25 AM
Hi,

When I make a PNG file and put it in the game, full transparency clearly works as intended, but something is off about partial transparency. Am I correct in concluding that the Rimworld/Unity Cutouts ignore partial transparency, or are my perceptions off?
Title: Re: PNG textures and alpha/transparency
Post by: 1MINISKIDI on August 24, 2017, 10:25:07 AM
does it give an error about the texture if it is partially transparent? because if thats the case then i might know whats wrong with my first modded texture...
Title: Re: PNG textures and alpha/transparency
Post by: 1MINISKIDI on August 24, 2017, 10:31:39 AM
dosent seem to work...
Title: Re: PNG textures and alpha/transparency
Post by: CannibarRechter on August 24, 2017, 11:53:13 AM
No, no error.
Title: Re: PNG textures and alpha/transparency
Post by: Shinzy on August 24, 2017, 12:03:20 PM
you'll need to use <graphicClass>Transparent</graphicClass>
for things with partial transparency
Title: Re: PNG textures and alpha/transparency
Post by: CannibarRechter on August 24, 2017, 12:57:01 PM
SWEET. I'll have to try this.