Increased Image Fidelity in Unreal Engine using Conservation of Energy

Increased Image Fidelity in Unreal Engine using Conservation of Energy



ANIMATED GIF - Example of Conserve Energy OFF and ON
This is an open-forum article and I invite other opinions and points of view to round out and update this information for all to share.

Working with #Pixar #Renderman for a living, I take many things for granted. One of them is surface shaders, by default, have energy conservation already turn ON. While researching my next project in #UnrealEngine, I stumbled upon something very interesting to share.

Are your renders a little glowy? Round edges flat?

I noticed all my short films seem to have this glow to surfaces I could not account for. A lack of detail at certain angles of the camera.

As I was setting up my next project, something caught my eye in the Project Settings that I had never touched before. It is OFF BY DEFAULT.

Project Settings ->Engine->Rendering->Materials

Enable Energy Conservation on Material


There is little to no information provided on the internet regarding this setting, but what is happening with this setting off may be hampering our image fidelity.

Searching the internet I found this absolutely incredible video by Christopher Tyler on his research into Blender and similar issues. I have tweezed out of this video what I believe are some helpful methods and techniques to use inside of #UnrealEngine to increase the image fidelity. Note, I look at this not from a game standpoint, but a Cinematics view. I do not know how this will play out in a game.


Energy Conservation

In a nutshell, Energy Conservation ensures that the total amount of light reflected by a surface does not exceed the total amount it receives. This produces a more accurate response of the material to light.

Without energy conservation on, the details and reality of our images will suffer and tend to add glow and flatness at some camera angles.

In the image below, the Conserve Energy setting is OFF, producing at this angle less fidelity to the curvature of the bowl and plate.

Conserve Energy OFF

In the image below, Conserve Energy has been switched ON (NOTE: when you turn this setting on, you will be ask to restart the Engine as shaders need to recompile).

Conserve Energy ON


Side-by-side comparison Conserve Energy OFF/ON

With this setting on, I am seeing less glowyness at some camera angles and definitely more fidelity to the surface materials.


Shader Adjustments for Specular and Fresnel

The Blender video also covered some changes to material shaders to take into account proper energy management. I have been using Conserve Energy ON with and without these shader tweaks. I'm convinced with these tweaks there is better image fidelity. I'm sure it is shot dependent.

From the Blender video:


My interpretation for an Unreal material

I've added a parameter called EdgeReflectanceMult. In the Video, he was setting the color mix to black 0,0,0 and when I tested this, it was too dark. So I'm taking the incoming Base color and multiplying it by 0.5.

Here are two examples using this material setup.

Conserve Energy ON with and without the Shader Tweaked

This second test shows Conserve Energy OFF, but WITH the Shader Tweaked. Interesting!

Conserve Energy OFF, With Shader Tweaked

Conclusion

This will obviously need more testing in different projects and at various camera angles. Wouldn't be bad to test this with DLSS/DLAA too. I definitely see a quality boost. I'm curious if this impacts those in games. I'm also curious as to why the product would ship with this feature turned off by default.

Feedback and ideas welcome!

Peace

Knowledge is like manure. It's meant to be spread around!
Alan Rosenfeld

3D Lighting Artist | Award Winning Director | Writer | Katana and Unreal Cinematics Lighting | ????Canadian PR

3 个月

Article has been updated with a new video showing examples of before/after.

回复
Scott W.

Principal Lighting Artist | Science x Art??

3 个月

Thank you for your deep dive into this, Alan! I assumed Unreal was “proper” PBR out of the box, but that doesn’t seem to be the case. ????

回复
Enrique Munoz

Senior Lighting Artist | Expert in Visual Development and CG Lighting

3 个月

Pretty insightful. Thanks for sharing your write up.

回复

要查看或添加评论,请登录

Alan Rosenfeld的更多文章

  • How to Simulate Sweat in Unreal Engine using Ultra Dynamic Sky Blueprints

    How to Simulate Sweat in Unreal Engine using Ultra Dynamic Sky Blueprints

    I've been pushing software past the breaking point for over 40 years and to this very day, it still gives me great…

    19 条评论
  • AL's Article Index

    AL's Article Index

    A quick curated index of my LinkedIn Articles Welcome to AL's Article Index! Since LinkedIn does not provide an…

    2 条评论
  • Journey to Canadian Permanent Residency

    Journey to Canadian Permanent Residency

    An Artists Tale Let me start this article by stating the following: SAVE EVERYTHING! SCAN EVERYTHING NOT SCANNED. You…

    2 条评论
  • How to emit Niagara particles from simulated textured cloth on animated skeletal meshes in Unreal Engine

    How to emit Niagara particles from simulated textured cloth on animated skeletal meshes in Unreal Engine

    Niagara particles emitting from animated simulated cloth Synopsis This article will cover the process of setting up and…

  • Reducing Production time through Procedural Automation in Unreal Engine

    Reducing Production time through Procedural Automation in Unreal Engine

    In this article, I will discuss techniques for creating procedural animations for background characters and effects to…

    2 条评论
  • Making of PUMP

    Making of PUMP

    Software used and referenced in this article: -Autodesk Maya 2023 / 2025 #autodesk -Unreal Engine 5.3 #unrealengine…

    1 条评论
  • Making of Horror House

    Making of Horror House

    I set out on this project to stretch my understanding of Unreal 5 and to explore various in-camera techniques. As…

    2 条评论
  • Fire Dancer

    Fire Dancer

    Original Story and Illustration prompts by: Alan Rosenfeld We live in the Pacific Ocean on a chain of green islands…

    7 条评论
  • Turtle Tale - A Short Story

    Turtle Tale - A Short Story

    Idea, story, and prompts by: Alan Rosenfeld Illustrations created by Generative AI (Microsoft Bing Image Creator) I’m a…

  • Prompt II: Exploring AI Further

    Prompt II: Exploring AI Further

    In my previous article, I examined the use of root prompts and using modifying adjectives to alter the resulting…

    5 条评论

社区洞察

其他会员也浏览了