# Clever way of rendering trees - is this possible in UE4?

**URL:** <https://forums.unrealengine.com/t/clever-way-of-rendering-trees-is-this-possible-in-ue4/49175>\
**Category:** FX\
**Tags:** unreal-engine\
**Created:** [December 4, 2015, 4:20pm UTC](https://forums.unrealengine.com/t/clever-way-of-rendering-trees-is-this-possible-in-ue4/49175 "2015-12-04T16:20:02Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_3bc02732](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3bc02732](https://forums.unrealengine.com/u/anonymous_user_3bc02732)\
**Post date:** [December 4, 2015, 4:20pm UTC](https://forums.unrealengine.com/t/clever-way-of-rendering-trees-is-this-possible-in-ue4/49175/1 "2015-12-04T16:20:02Z")

</div>

I looked at the Unigine Valley benchmark demo today and saw something very interesting.

They render tree leaves with only one alpha masked polygon and then rotate that polygon so that it always faces the players viewing direction. That way, you always see it from the front side. The effect works so well, I did not notice it for a very long time, in fact you never notice it, unless you come from the render business and dissect everything. But even then it blend perfectly and natural to your eyes.

I made a quick sketch of what they are doing. No matter where you move the player, you will always see the alpha masked polygon like it is marked in red.  
It should be much more effective that the current way with crossed polygons etc., if it is possible at all in UE4.

 ![unigineTrees.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/4/0/401ee75bdbd7d61369326cc017f5c0815b790409.jpeg)&stc=1&d=1449245898

---

<div class="post-metadata">

**Author:** ![darthviper107](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/darthviper107/32/710746_2.png) [@darthviper107](https://forums.unrealengine.com/u/darthviper107)\
**Post date:** [December 4, 2015, 4:36pm UTC](https://forums.unrealengine.com/t/clever-way-of-rendering-trees-is-this-possible-in-ue4/49175/2 "2015-12-04T16:36:48Z")

</div>

That’s what Speedtree does, you have the option of having those parts of the tree always face you or you can have them static.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3bc02732](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3bc02732](https://forums.unrealengine.com/u/anonymous_user_3bc02732)\
**Post date:** [December 4, 2015, 5:17pm UTC](https://forums.unrealengine.com/t/clever-way-of-rendering-trees-is-this-possible-in-ue4/49175/3 "2015-12-04T17:17:57Z")

</div>

I will throw my Xfrog away and get Speedtree!

---

<div class="post-metadata">

**Author:** ![AngeIV](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AngeIV](https://forums.unrealengine.com/u/AngeIV)\
**Post date:** [December 22, 2019, 4:20pm UTC](https://forums.unrealengine.com/t/clever-way-of-rendering-trees-is-this-possible-in-ue4/49175/4 "2019-12-22T16:20:04Z")

</div>

Can someone confirm this works? I think engine would have to support such behavior?

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [December 22, 2019, 6:11pm UTC](https://forums.unrealengine.com/t/clever-way-of-rendering-trees-is-this-possible-in-ue4/49175/5 "2019-12-22T18:11:24Z")

</div>

What do you mean “confirm it works”? That’s literally just Math and common shader code for a billboard since the late 80s…

---

<div class="post-metadata">

**Author:** ![FrankieV](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FrankieV](https://forums.unrealengine.com/u/FrankieV)\
**Post date:** [December 22, 2019, 10:17pm UTC](https://forums.unrealengine.com/t/clever-way-of-rendering-trees-is-this-possible-in-ue4/49175/6 "2019-12-22T22:17:10Z")

</div>

Yeah it’s called a billboard and used most times as part of the LOD. Some particle effects do more or less the same thing

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [December 23, 2019, 4:33pm UTC](https://forums.unrealengine.com/t/clever-way-of-rendering-trees-is-this-possible-in-ue4/49175/7 "2019-12-23T16:33:41Z")

</div>

Niagara trees sound like they could be a fun experiment…

---

<div class="post-metadata">

**Author:** ![Raildex](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Raildex](https://forums.unrealengine.com/u/Raildex)\
**Post date:** [December 23, 2019, 8:11pm UTC](https://forums.unrealengine.com/t/clever-way-of-rendering-trees-is-this-possible-in-ue4/49175/8 "2019-12-23T20:11:25Z")

</div>

It’s called billboarding and existed back in the 90s  
Here’s an example how not to do it:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/1/1/81103c0bda845880053623e12c5b3f42961fc660.jpeg "Just Cause 2 rotating trees") ](https://www.youtube.com/watch?v=yr0JICIYyzU)

^This is basically it but on larger scale

---

<div class="post-metadata">

**Author:** ![CoquiGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/coquigames/32/1194591_2.png) [@CoquiGames](https://forums.unrealengine.com/u/CoquiGames)\
**Post date:** [December 23, 2019, 9:41pm UTC](https://forums.unrealengine.com/t/clever-way-of-rendering-trees-is-this-possible-in-ue4/49175/9 "2019-12-23T21:41:49Z")

</div>

> [@anonymous\_user\_3bc02732](#):
>
> I looked at the Unigine Valley benchmark demo today and saw something very interesting.
> 
> They render tree leaves with only one alpha masked polygon and then rotate that polygon so that it always faces the players viewing direction. That way, you always see it from the front side. The effect works so well, I did not notice it for a very long time, in fact you never notice it, unless you come from the render business and dissect everything. But even then it blend perfectly and natural to your eyes.
> 
> I made a quick sketch of what they are doing. No matter where you move the player, you will always see the alpha masked polygon like it is marked in red.  
> It should be much more effective that the current way with crossed polygons etc., if it is possible at all in UE4.
> 
> ![unigineTrees.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/4/0/401ee75bdbd7d61369326cc017f5c0815b790409.jpeg)&stc=1&d=1449245898

Check out this Plugin - it creates billboards for any mesh  
[rdLODtools in - UE Marketplace](https://www.unrealengine.com/marketplace/en-US/item/cec09587626740a3b7c84e044538ad3e)
