0
$\begingroup$

I have a problem with the imported image. as you can see the left picture is transparent and looks ok, but when I import it as image as Plane it gets an orange edge and I want to fix it but I don't even know why its there?

enter image description here

these are the nodes of the image as plane

enter image description here

$\endgroup$
  • $\begingroup$ Do you have the material that the image is using set to Shadeless, or is it receiving light and shadow? $\endgroup$ – Craig D Jones Jul 6 '17 at 12:15
  • $\begingroup$ I upload a pic with the nodes. I add an emission shader, because it is very dark in the scene $\endgroup$ – 3D bob Jul 6 '17 at 12:27
  • 1
    $\begingroup$ Use the emission shader instead of the diffuse shader, then get rid of the add shader. $\endgroup$ – cegaton Jul 6 '17 at 13:34
1
$\begingroup$

You should make the emission shader aware of the Alpha information from the image. At present indeed, the antialiased border of the globe is emitting as it was fully opaque.

You can do so by connecting the Alpha socket to the Strength input of the emission shader, and adding a "Math>Convert" node in the middle, set to multiply by 0.8.

transparent emission

(in your setup, the second - half transparent - stripe would have wrongly appeared completely white)

[ As cegaton says, however, for your application the diffuse and add shaders can be removed altogether: your globe isn't supposed to diffuse received light. ]

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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