2

I'm sure someone already asked this, and yes, i googled it, but in cycles render, i do not know how to fix the transparency problem here. however, transparency works fine in blender render, so it is not my laptop not being able to support it. enter image description here

i need to get rid of the black i have a separate alpha png, but dont know how to apply it

Virtual Ghost
  • 56
  • 1
  • 8
  • 1
    if your PNG has a transparent background, plug the Image Texture with your image in the bottom entry of a Diffuse, plug this Diffuse in a Mix Shader, and plug the Mix Shader in the Material Output. Now plug a Transparent BSDF (100% white) in the top entry of the Mix Shader, and plug the Alpha output of the Image Texture in the Factor of the Mix Shader. It should work – moonboots Jul 01 '18 at 07:53
  • This might not be an answer for the general transparency problem, but there is an Addon called "MCprep" that automaticaly sets up your exportet Minecraft-World for Cycles/Blender internal... – Quacksilber Jul 01 '18 at 09:23
  • This is asked quite often. It's easier if you don't think in terms of transparency, but how to use a mask to control how two colors or shaders mix together (one of the shaders can be transparent). Read Add a transparent image on top of a material –  Jul 01 '18 at 15:17
  • Another possibly related link: https://blender.stackexchange.com/questions/42023/transparent-textured-planes-produce-black-artifacts/42026#42026 –  Jul 01 '18 at 15:21
  • i already used mcprep... only works for blender render for me... – Virtual Ghost Jul 02 '18 at 07:31
  • i DO have an rgba, but no difference is shown between the rgb and rgba – Virtual Ghost Jul 03 '18 at 23:22

2 Answers2

1

If your PNG has a transparent background, plug the Image Texture with your image in the bottom entry of a Diffuse, plug this Diffuse in a Mix Shader, and plug the Mix Shader in the Material Output. Now plug a Transparent BSDF (100% white) in the top entry of the Mix Shader, and plug the Alpha output of the Image Texture in the Factor of the Mix Shader. It should work

enter image description here

moonboots
  • 155,560
  • 7
  • 105
  • 171
-3

Need to turn on "Transparent" on the render settings panel.

enter image description here

Ant
  • 129
  • 8