Square leafs

Everytime I import a fbx tree mesh for ue4 the leafs appears as square boxes, does anyone know how to fix it?

Hey Neil Fallon -

Usually leaves on a tree are alpha-ed out through a material setup, what does the material for your tree look like?

Thank You

Eric Ketchum

Thanks for answering so quickly. Its a simple material with only one texture that came with the object. Do I need to make an UV and connect it to the normal input?

Hey Neil -

Can you post a screenshot of what the material and what the tree itself looks like in the editor then I can make some recommendations as what to do.

It happens to all my trees leafs:
image

By the way do you recomend SpeedTree for beginers?

Hi Neil -

Easy fix here. Connect the Alpha node of the Texture Sample (bottom most output pin) to the Opacity Mask input on the Material Inputs and set the Material to Masked instead of Opaque. Save and everything should work fine now.

I really enjoy using the SpeedTree modeling software and once you are comfortable in it, it works great and can give you some great vegetation and foliage. It does have a learning curve though. So, if you have the time to put into learning it I say go for it.

Thank You and Good Luck -

Eric Ketchum

It works! thanks!!
I’ll take some time to learn more about the engine then I’ll jump into the SpeedTree.
Again thank you for all your help!

Hey guys i’m trying to apply the fix you mentioned but for some reason it doesn’t work, could you take a look at my screenshot and let me know what’s up? Thanks

Make sure that your texture has an alpha channel.

your mesh probably came with a black and white texture just like that one, you should connect the green-black with the base color and the black-white with the opacity mask. If you don’t have one just go to photoshop and paint the leaf

Cheers i’ll try that out.