# Striving for Photorealism in UE4

**URL:** <https://forums.unrealengine.com/t/striving-for-photorealism-in-ue4/56752>\
**Category:** Game Development\
**Tags:** unreal-engine\
**Created:** [February 29, 2016, 12:03am UTC](https://forums.unrealengine.com/t/striving-for-photorealism-in-ue4/56752 "2016-02-29T00:03:54Z")\
**Posts on this page:** 20\
**Page:** 8

<div class="post-metadata">

**Author:** ![DesertEagle\_PWN](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DesertEagle\_PWN](https://forums.unrealengine.com/u/DesertEagle_PWN)\
**Post date:** [May 24, 2016, 2:56am UTC](https://forums.unrealengine.com/t/striving-for-photorealism-in-ue4/56752/149 "2016-05-24T02:56:41Z")

</div>

[https://cdn3.artstation.com/p/assets/images/images/002/623/539/small/eoin-o-broin-forest02.jpg?1463763136](https://cdn3.artstation.com/p/assets/images/images/002/623/539/small/eoin-o-broin-forest02.jpg?1463763136)

\*\*\*\*! I almost thought it was an actual photo.

---

<div class="post-metadata">

**Author:** ![hippowombat](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hippowombat/32/906590_2.png) [@hippowombat](https://forums.unrealengine.com/u/hippowombat)\
**Post date:** [May 24, 2016, 4:37am UTC](https://forums.unrealengine.com/t/striving-for-photorealism-in-ue4/56752/150 "2016-05-24T04:37:50Z")

</div>

Not that I don’t believe you, but to satisfy BlueBudgie’s insatiable disbelief, maybe post 2 pictures of your scene, one fully rendered and one wireframe, in the UE4 editor?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_5db7bc1b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5db7bc1b](https://forums.unrealengine.com/u/anonymous_user_5db7bc1b)\
**Post date:** [May 24, 2016, 6:08am UTC](https://forums.unrealengine.com/t/striving-for-photorealism-in-ue4/56752/151 "2016-05-24T06:08:59Z")

</div>

> [@hippowombat;535125](#):
>
> Not that I don’t believe you, but to satisfy BlueBudgie’s insatiable disbelief, maybe post 2 pictures of your scene, one fully rendered and one wireframe, in the UE4 editor?

no no, that’s fine. With Billboards in the background it makes sense. That’s pretty much compositing. I was just wondering in case there are 3D meshes in the background makign up the forest how that is possible. Thing is, we did this kind of compositing in the past a lot with VUE. It was like sports to do such 3D-2D mixes in scenes with photos or billboards. It is nice to see that UE4 has reached that level in rendering!

, if you have not done it already, do not forget to tick early Z on both opaque and masked meshes in the project settings before ramping down the meshes. Also tweak the shadows in the baseconfig.ini to be just good enough and cheaper. That should double the framerate.

---

<div class="post-metadata">

**Author:** ![Kajiisan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kajiisan/32/443102_2.png) [@Kajiisan](https://forums.unrealengine.com/u/Kajiisan)\
**Post date:** [May 24, 2016, 1:34pm UTC](https://forums.unrealengine.com/t/striving-for-photorealism-in-ue4/56752/152 "2016-05-24T13:34:52Z")

</div>

Oh my… totally missed that Gem. Wonderful works!

---

<div class="post-metadata">

**Author:** ![Macarmoni](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Macarmoni](https://forums.unrealengine.com/u/Macarmoni)\
**Post date:** [May 24, 2016, 2:00pm UTC](https://forums.unrealengine.com/t/striving-for-photorealism-in-ue4/56752/153 "2016-05-24T14:00:10Z")

</div>

this is amazing! but how do you do it? do you 3d scan a lot or is it just hand made? 😃

---

<div class="post-metadata">

**Author:** ![noyart](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@noyart](https://forums.unrealengine.com/u/noyart)\
**Post date:** [May 24, 2016, 7:25pm UTC](https://forums.unrealengine.com/t/striving-for-photorealism-in-ue4/56752/155 "2016-05-24T19:25:22Z")

</div>

I would love to know how you do it too, like what is your workflow?  
Specially that snow scene, soooo beautiful!!

---

<div class="post-metadata">

**Author:** ![order66](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/order66/32/906575_2.png) [@order66](https://forums.unrealengine.com/u/order66)\
**Post date:** [May 25, 2016, 8:18am UTC](https://forums.unrealengine.com/t/striving-for-photorealism-in-ue4/56752/156 "2016-05-25T08:18:36Z")

</div>

> [@;534954](#):
>
> I will make a breakdown on a new scene soon 🙂 Still figuring out new ways to approach creating the tree geometry!
> 
> The tree in that scene (duplicated about 30 times) has about 85K triangles, which is definitely a lot, but I have been experimenting more since then and can get a similar looking tree at about 35K tris. Keep in mind that I originally create these scenes for fun, without optimization in mind for games- since I get a lot of questions about performance, I’m working on creating a super optimized scene with a comparable amount of quality now. There were no LOD’s for the trees, and everything was dynamically lit- loads of room for improvement in performance! The trees in the background are simple SpeedTree billboards of the other tree model in the scene (that one has an extra LOD for super distant trees)- so they have very little cost!
> 
> The lighting setup is a dynamic skylight and a single directional light with a very low intensity- that’s it 🙂

Much appreciated and looking forward to it 🙂

---

<div class="post-metadata">

**Author:** ![EoinOBroin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EoinOBroin](https://forums.unrealengine.com/u/EoinOBroin)\
**Post date:** [May 25, 2016, 9:02pm UTC](https://forums.unrealengine.com/t/striving-for-photorealism-in-ue4/56752/157 "2016-05-25T21:02:01Z")

</div>

Two very quick new foliage tests 🙂 (ignore the backdrops- just wanted something quick to test the foliage in)

Polycount is 50K tris for the larger tree, and 16K tris for the smaller foliage- nature is really a hard one to get right- if you go for ultimate optimization with 2D planes, it looks flat and unrealistic, but if you go too high, obviously it wouldn’t be usable for a game. I found around 50K tris for the trees that I have been making was a nice tradeoff between quality and performance- each leaf has simple geometry and gives the overall shading a lot more depth than 2D planes- with this LOD only viewable up close and much less dense models after a certain radius, I think a huge forest of this foliage is possible. (Time to put that to the test- will post progress!)

**EDIT:** Modeling each leaf as a plane may bounce the light better but it gets far too expensive for realtime use- I got really nice results from typical masked plane cards- from over 100K tris on the big trees down to about 8K tris!

[https://cdn0.artstation.com/p/assets/images/images/002/660/168/medium/eoin-o-broin-foliage.jpg?1464213076](https://cdn0.artstation.com/p/assets/images/images/002/660/168/medium/eoin-o-broin-foliage.jpg?1464213076)

[https://cdn1.artstation.com/p/assets/images/images/002/657/657/small/eoin-o-broin-tree.jpg?1464190327](https://cdn1.artstation.com/p/assets/images/images/002/657/657/small/eoin-o-broin-tree.jpg?1464190327)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_5db7bc1b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5db7bc1b](https://forums.unrealengine.com/u/anonymous_user_5db7bc1b)\
**Post date:** [May 26, 2016, 7:00am UTC](https://forums.unrealengine.com/t/striving-for-photorealism-in-ue4/56752/158 "2016-05-26T07:00:07Z")

</div>

The top one with the tree tops (or bushes?) looks great! (bit too dark maybe).

The shadows are too sharp in my opinion. That’s not happening in real life unless the object is very close to its shadow.  
You could make the shadows blurrier, also more for distant trees, in the baseconfig.ini and that would also boost framerate a lot. Shadows, especially long ones that cover a lot of geometry (morning/evening), are at least in the same performance heavy category than polygons themselves, if not worse.

50k with LODs sound good if the focus is on trees. Will be interesting to see where you arrive.

Here is what we arrived for our (physics enabled and climbable) hero trees, it’s like 30k-40k tris per tree, and squeezed into a GTX780 with good shadows at 60fps/1920x980 with lots of foliage/small trees in the scene as well.

 ![cache_21688642.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/7/c/7ca32d63620d3a35f7dcdf3cf9ddca6ce32a6da6.jpeg)

---

<div class="post-metadata">

**Author:** ![EoinOBroin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EoinOBroin](https://forums.unrealengine.com/u/EoinOBroin)\
**Post date:** [May 26, 2016, 3:32pm UTC](https://forums.unrealengine.com/t/striving-for-photorealism-in-ue4/56752/159 "2016-05-26T15:32:56Z")

</div>

> [@BlueBudgie;536345](#):
>
> The top one with the tree tops (or bushes?) looks great! (bit too dark maybe).
> 
> The shadows are too sharp in my opinion. That’s not happening in real life unless the object is very close to its shadow.  
> You could make the shadows blurrier, also more for distant trees, in the baseconfig.ini and that would also boost framerate a lot. Shadows, especially long ones that cover a lot of geometry (morning/evening), are at least in the same performance heavy category than polygons themselves, if not worse.
> 
> 50k with LODs sound good if the focus is on trees. Will be interesting to see where you arrive.
> 
> Here is what we arrived for our (physics enabled and climbable) hero trees, it’s like 30k-40k tris per tree, and squeezed into a GTX780 with good shadows at 60fps/1920x980 with lots of foliage/small trees in the scene as well.

Thanks for the feedback 🙂 Your trees look good!

* * *

Here’s a quick scene from today testing new foliage assets- still rough WIP testing for now!

[https://cdn2.artstation.com/p/assets/images/images/002/666/074/medium/eoin-o-broin-screen-shot-2016-05-26-at-7-01-20-p-m.jpg?1464285772](https://cdn2.artstation.com/p/assets/images/images/002/666/074/medium/eoin-o-broin-screen-shot-2016-05-26-at-7-01-20-p-m.jpg?1464285772)

---

<div class="post-metadata">

**Author:** ![das8track](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@das8track](https://forums.unrealengine.com/u/das8track)\
**Post date:** [May 31, 2016, 1:43pm UTC](https://forums.unrealengine.com/t/striving-for-photorealism-in-ue4/56752/160 "2016-05-31T13:43:17Z")

</div>

I like it. Trees can be difficult because of how light bounces off them, but these look pretty good. Usually in my work, in 3ds max, we don’t put much time into trees because it’ll skyrocket the render time for the scene. If UE4 can handle more realistic trees at real-time, I may have to convince my boss to switch over completely!

---

<div class="post-metadata">

**Author:** ![chillz9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@chillz9](https://forums.unrealengine.com/u/chillz9)\
**Post date:** [May 31, 2016, 4:45pm UTC](https://forums.unrealengine.com/t/striving-for-photorealism-in-ue4/56752/161 "2016-05-31T16:45:56Z")

</div>

Looks amazing!

---

<div class="post-metadata">

**Author:** ![EoinOBroin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EoinOBroin](https://forums.unrealengine.com/u/EoinOBroin)\
**Post date:** [June 3, 2016, 8:20pm UTC](https://forums.unrealengine.com/t/striving-for-photorealism-in-ue4/56752/163 "2016-06-03T20:20:22Z")

</div>

I’ve had the opportunity to work with the Quixel Megascans library recently which is a literal game changer for beautiful scanned input textures! Spending most of my time working on a high quality foliage pipeline for UE4, here is a quick new scene using GrowFX for the foliage geometry creation, and Megascans textures!

[https://cdn2.artstation.com/p/assets/images/images/002/725/114/small/eoin-o-broin-02.jpg?1464985168](https://cdn2.artstation.com/p/assets/images/images/002/725/114/small/eoin-o-broin-02.jpg?1464985168)

[https://cdn0.artstation.com/p/assets/images/images/002/725/112/small/eoin-o-broin-01.jpg?1464985162](https://cdn0.artstation.com/p/assets/images/images/002/725/112/small/eoin-o-broin-01.jpg?1464985162)

---

<div class="post-metadata">

**Author:** ![das8track](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@das8track](https://forums.unrealengine.com/u/das8track)\
**Post date:** [June 3, 2016, 8:54pm UTC](https://forums.unrealengine.com/t/striving-for-photorealism-in-ue4/56752/164 "2016-06-03T20:54:48Z")

</div>

Wow, that looks awesome! How do you get access to the Megascans library? Is it included in the Quixel 2.0 suite? They look really handy!

---

<div class="post-metadata">

**Author:** ![subspark](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@subspark](https://forums.unrealengine.com/u/subspark)\
**Post date:** [June 5, 2016, 7:43am UTC](https://forums.unrealengine.com/t/striving-for-photorealism-in-ue4/56752/165 "2016-06-05T07:43:29Z")

</div>

Megascans is a gamechanger. Pun intended. It’s on its way…

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_5db7bc1b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5db7bc1b](https://forums.unrealengine.com/u/anonymous_user_5db7bc1b)\
**Post date:** [June 5, 2016, 10:28am UTC](https://forums.unrealengine.com/t/striving-for-photorealism-in-ue4/56752/166 "2016-06-05T10:28:43Z")

</div>

Those look really good.

---

<div class="post-metadata">

**Author:** ![EoinOBroin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EoinOBroin](https://forums.unrealengine.com/u/EoinOBroin)\
**Post date:** [June 6, 2016, 6:51pm UTC](https://forums.unrealengine.com/t/striving-for-photorealism-in-ue4/56752/167 "2016-06-06T18:51:14Z")

</div>

Thanks 🙂  
@das8track No the Megascans library is separate to the suite, it will be released as a standalone service!

Here is a quick and dirty scene I made today testing ONE instanced tree mesh with LODs- my aim was to get a nice overall grading and sense of space without focusing on the small details- close up trees are 30K tris, slightly further away are 9000 tris, and slightly further than that go down to 500 tris! Makes large forests running at decent frame rates very possible! Still much more testing to do on this front with a lot more variety in tree meshes and foliage, but it is a start 🙂 Trees were created using GrowFX.

[https://cdn0.artstation.com/p/assets/images/images/002/745/864/small/eoin-o-broin-04.jpg?1465238410](https://cdn0.artstation.com/p/assets/images/images/002/745/864/small/eoin-o-broin-04.jpg?1465238410)

---

<div class="post-metadata">

**Author:** ![Dogsofknowledge](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dogsofknowledge](https://forums.unrealengine.com/u/Dogsofknowledge)\
**Post date:** [June 7, 2016, 3:03pm UTC](https://forums.unrealengine.com/t/striving-for-photorealism-in-ue4/56752/168 "2016-06-07T15:03:17Z")

</div>

If you’re trying to get a good sense of space, I would change the camera angle because I can’t really tell what I’m looking at. The ferns completely cover the ground so it’s hard to see what’s going on there:)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_5db7bc1b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5db7bc1b](https://forums.unrealengine.com/u/anonymous_user_5db7bc1b)\
**Post date:** [June 7, 2016, 6:40pm UTC](https://forums.unrealengine.com/t/striving-for-photorealism-in-ue4/56752/170 "2016-06-07T18:40:17Z")

</div>

Absolutely keep posting WIP!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_5db7bc1b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5db7bc1b](https://forums.unrealengine.com/u/anonymous_user_5db7bc1b)\
**Post date:** [June 7, 2016, 6:41pm UTC](https://forums.unrealengine.com/t/striving-for-photorealism-in-ue4/56752/171 "2016-06-07T18:41:01Z")

</div>

One more: the images above are for me an absolute reference. You have to realize how good this is when you compare different render techniques. Comparing real time rendering in UE4, where you fake everything as good as possible, and then true path tracing methods, where you try to be as physically correct as possible, you have to say that the ‘fake-as-good-as-possible’ method is almost equal.  
I mean our man did some nature Octane renders some time ago with a scattering tool that he wrote. You look at them and then you look at your images (you are the better artist 🙂 ) you would not be able to say that one is UE4 and one is Octane. That is amazing. You would not be able to render those images any better with 3dsmax or Octane or whatever. And UE4 is real-time 60fps.

[Previous page](https://forums.unrealengine.com/t/striving-for-photorealism-in-ue4/56752.md?page=7)

[Next page](https://forums.unrealengine.com/t/striving-for-photorealism-in-ue4/56752.md?page=9)
