Jump to content
  • 0
LilithServil

Issue with texture transparency (weird artifacts)

Question

Currently trying to edit some cheek fur to slap onto one of my avatars. I make a texture and....

DE1bYpQ.png

What am I doing wrong?? The actual file looks like this.

DzhxqhO.png

Tried both png and tng. Alpha masking helps kind of get rid of it, but makes it super jagged when I want it to look soft. Not sure what else to do at this point.

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

You're going to have to use alpha blending, not alpha masking.  Alpha masking is not suited for partial transparency.  Its cutoff limit guarantees that anything below the limit is entirely transparent and anything above it is entirely opaque.  That's why you are getting harsh, jaggedy outlines.  There's also not much tonal variation across your texture, which adds to the problem. Create your texture by adding some range of gray values in the alpha channel, so that you actually generate variations in transparency rather than a uniform opacity, and then saving it as a TGA file

Share this post


Link to post
Share on other sites
  • 0

I'm aware of what alpha masking does; I stated it helps get rid of the outlines via masking, but makes it sharp for those reasons. Alpha blending is what's giving those outlines no matter what I do. I've tried colors/shading (even though I want it relatively flat for style reasons to make my avatar) and not much changes. :s

Share this post


Link to post
Share on other sites
  • 0

Alpha channel? I've been up for 18 hours so I'm a little out of it. There aren't any stray pixels causing it if that's what you're asking. Even scrapping it altogether and drawing a single white line on a transparent background gives me a jagged dark pixel line around it when I go to preview it.

 

Also forgot to state I'm using paint tool sai and not any form of photoshop or gimp, so if there's actually a way to check alpha stuff further in those... I likely can't do the same on my program.

 

The weird thing is, I've made plenty of semi transparent things before and haven't had this jagged outline issue.

Share this post


Link to post
Share on other sites
  • 0

I'm not familiar with your software, sorry.  By "alpha channel" I mean the transparency channel of the image.  Images with transparency have values at each pixel for Red, Green, Blue and transparency, or RGBa.

Imaging programs like GIMP and Photoshop can show the individual channels.  An alpha channel might look like this:

alpha.thumb.jpg.fea192b07fc09ec08501f8f5ce216e7f.jpg

Share this post


Link to post
Share on other sites
  • 0

Yeah unfortunately, my program doesn't have something like that as far as I know. I do know though that there shouldn't be any stray pixels like what's showing up on SL because the only thing on the canvas is what I directly drew, if that makes sense. I don't know if it has to do with how fine the lines are... if I erase everything and just draw a big fat smudge, there aren't any artifacts on SL. If I draw a fine line, suddenly there are clusters like what's shown in the image there.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×