Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have downloaded a free tree palm model that came with textures and a preview image. In the preview image the tree looks fine, but when I have deployed the textures to my scene, the leaves look green plus white, where white is the transparency area.

Is there something I need to know about transparent textures? Both in the view-port and in the renderer all transparency appears as white.

What could it be?


The model I was talking about is implemented with two JPGs. One is textured and the other one is black-white where white represents transparency and is applied to the material in the opacity channel/map.

The transparency seems to work somewhat, but there are white borders around the leaves. I think it's because the opacity channel does not properly filter out all white colors for some reason. It also seems that changing the blur affects it, but setting it to 0 does not remove it though (and makes it jaggy).

share|improve this question
up vote 3 down vote accepted

From what I could find on google, it doesn't use the PNG's alpha transparency by default, but there's a trick to turn it on.

(copy paste: In the maps roll out, drag the diffuse map down to the opacity and make sure it copies it. Then on the opacity material, change the mono output to alpha. Also, make sure on the diffuse and opacity that premultiplied alpha is not ticked, that can mess it up sometimes)

share|improve this answer
Hi. I have updated my question. The current model uses two JPGs. – rFactor Mar 25 '11 at 20:38
I think the reason you're seeing white borders is that your jpg, if it's made in photoshop or wherever, has automatically softened the edges between black and white areas. Specifically, if you use a selection tool in photoshop like the lasso or magic wand, it will automatically do some feathering and antialiasing. One way to force it to only black and white with nothing in between would be image-->adjust-->threshold in photoshop. Can you post the JPGs somewhere? Maybe if I looked at it I could see if there's anything that stands out. – CreeDorofl Mar 26 '11 at 18:43

Sketchup exported as 3DMax (.3ds) works well, there are a couple issues that disrupt the flow. One of those are the .png files. Sketchup pulls it into max as a mix material, in the opacity channel. Just add your external user path, and point to the file. Then in the mix channel copy the .png image file from the diffuse map channel to the opacity/mix channel. (no white fringe)

share|improve this answer

Also be sure your .png is save as 8 bit. Doesn't work with 16 or 32 bit. In Photoshop goto Image/mode/8bit/channel.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .