Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm a Blender novice, so this is probably easy to fix.

When I use a transparent PNG as a texture in Blender, the parts that should be transparent are rendered as black.

This is especially confusing since in the material preview it looks as if the material would indeed be transparent.

Here's a screenshot:

screenshot

This is the test texture, and in the right on top of a checkerboard:

           test image           test image on a checkerboard

Here is the .blend file in case you want to check it:

                                                     Yes, you may download this PNG and open it in 7-Zip because it has a ZIP in it. Blame the lack of an attachment feature here.

Edit: After playing with the settings, it does render with transparency in the rendered output, but that's not what I need. I want to use the models with Three.js, so I want to just quickly see how it looks in Blender, I don't need more than simple "Z-transparency" ("regular" one, non-raytraced) here's a reference rendering of what I expect to see in Blender while I edit (this is the same model rendered with Three.js on an HTML <canvas>):

                                               reference rendering

share|improve this question
    
I'm wondering if Blender just isn't capable of showing a transparent texture on the editing panel. I hope this is not the case. –  Camilo Martin Jul 3 '12 at 16:47
    
Is it a PNG8 or a PNG24? –  Ignacio Vazquez-Abrams Jul 4 '12 at 16:22
1  
@CamiloMartin - How did you make the I'm actually a .zip file thing? –  Derek 朕會功夫 Jun 21 '13 at 5:11
1  
@Derek朕會功夫 - Cool isn't it? :D cat file.png file.zip > mix.png on Unix, and copy /B file.png file.zip mix.png on Windows. This works because 7-Zip (and many other programs) will look for the zip header (or any other valid header that it supports), even if it's not at the beginning. For this reason you can open .docx, installers, and a number of proprietary-format files straight in 7-Zip. The image itself was self-made. –  Camilo Martin Jun 21 '13 at 17:31
1  
Oh, and by the way, the image is public domain, in case you want it you're free to use it too. Here it is, ready to be concatenated with whatever zip: i.imgur.com/1cHoKa4.png –  Camilo Martin Jun 22 '13 at 5:14
show 7 more comments

1 Answer 1

up vote 0 down vote accepted

Just in case none of the two nice fellow at BlenderArtists chose to answer here, here's the two possible ways to do it:

SxJP's answer:

In the viewport, click N, open the "Display" tab and under "Shading", select "GLSL".
Click the link above for the original post.

                                    

Sanctuary's answer:

This one allows you not having to use the GLSL renderer. To avoid duplication, click the link to go to the answer, it has handy screenshots.

                                    

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.