Tell me more ×
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
@IgnacioVazquez-Abrams It is the image I've posted here, so yes, it is PNG32 (remember, PNGs with transparency have 32 bits per pixel... 8R+8G+8B+8A) – Camilo Martin Jul 4 '12 at 17:00
Note to possible answerers: I've found the answer, a guy at BlenderArtists just posted it. If he choses to post it here, I'll choose his answer. If not, I'll post it myself and choose it. The answer is in this link. – Camilo Martin Jul 4 '12 at 17:06
Actually, now two guys posted answers there, how timely with my bounty here, lol. – Camilo Martin Jul 4 '12 at 17:17

1 Answer

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

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.