PNG file renders almost entirely black

Started by CannibarRechter, August 22, 2017, 07:51:24 PM

Previous topic - Next topic

CannibarRechter

Hi,

On a couple of occasions I've had PNG files that have a lot of black in them render so black they're almost a silhouette instead. The first time it happened I tried flipping to a less black item. I'm not sure what's happening here. Can someone with graphics modding skills pretty please drop this texture (attached) in their game and tell me what's happening? Thank you so much.



[attachment deleted by admin: too old]
CR All Mods and Tools Download Link
CR Total Texture Overhaul : Gives RimWorld a Natural Feel
CR Moddable: make RimWorld more moddable.
CR CompFX: display dynamic effects over RimWorld objects

Chicken Plucker

I see something wrong with the .PNG by zooming in, there are some lines that fill the square that hasn't been erased properly, so they look like floating lines in the image. Maybe this has something to do with it?

Also does this clothing piece get affected by textile colors?

CannibarRechter

Regarding the colors thing, I think you are onto something there. It's supposed to be an icon for studded leather material. I recall that I set studded leather to very black in the game. So I suppose that in addition to filtering the clothes (which works properly), it's also filtering the icon (the material when it's on the map). Using the zoom mod tool, I can see very faint red in the icon. This jibes. I'll have to play around tonite to see if there is a way to not filter the map icon while properly making the clothes black...
CR All Mods and Tools Download Link
CR Total Texture Overhaul : Gives RimWorld a Natural Feel
CR Moddable: make RimWorld more moddable.
CR CompFX: display dynamic effects over RimWorld objects

Skcuske_Lobuk

Textures in RW tend to be grayish, with the ColorGenerator adding color. Like the tuque or the cowboy hat. Try setting colorGenerator class in your apparel to "<only>RGBA(1,1,1,1)</only>" (pure white) to keep your texture unmodified.
Other stuff use the color of the things they're made of, so if the colorGenerator ignores you, this might be the place to look at.

CannibarRechter

BTW, for the record, I was revving up an old mod where I'd set the item's color to very black. So it was a problem of my own making. It had been so long I had forgotten that I'd done that. This explains why it was just the one item having the problem.
CR All Mods and Tools Download Link
CR Total Texture Overhaul : Gives RimWorld a Natural Feel
CR Moddable: make RimWorld more moddable.
CR CompFX: display dynamic effects over RimWorld objects