msgfx / LightingTest_UE5

Lighting Test for Unreal Engine 5

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lighting Test for Unreal Engine 5

The goal is lighting has correctness and neutral.
Engine Users would be able to use these test scenes to verify that the lighting is correct and neutral for the various Unreal Engine rendering methods.

  • Lumen
    • Hardware Ray Tracing (HWRT)
    • Software Ray Tracing (SWRT)
  • Screen Space Reflection (SSR)
  • Screen Space Global Illumination (SSGI)

Default Settings

Rendering

  • Global Illumination use Lumen
  • Reflection use Lumen
  • Use Hardware Ray Tracing when available

References/Images/ue5_editor_settings_rendering.jpg

Preparation

Disable Post Processing on Project Settings

References/Images/ue5_editor_settings_disable_postprocessing.jpg

Disable All Post Processing on Editor

References/Images/ue5_editor_disable_all_postprocessing.jpg

Disable Game Setting on Editor

References/Images/ue5_editor_disable_game_settings.jpg

References

Scenes

  • Unreal Engine 5.0.3
  • There are 4 test scenes
    1. Perfect Lambert Plane
    2. Perfect MirrorPlane
    3. Perfect Mirror Weak White Plane
    4. Glossy Plane

1. Perfect Lambert Plane

Reference Lumen Path Tracing (UE5)
References/Images/falcor52_pathtracing_perfect_lambert.jpg References/Images/ue5_editor_lumen_perfect_lambert.jpg References/Images/ue5_editor_lumen_perfect_lambert.jpg

Directional Light

Property Value
Intensity 10 [lux]
Rotation (0, -90, 0) [degree]

Sphere Material

Property Value
Base Color (1, 0, 0)
Metalness 0.0
Specular Roughness 1.0

Plane Material

Property Value
Base Color (1, 1, 1)
Metalness 0.0
Specular Roughness 1.0

2. Perfect Mirror Plane

Reference Lumen Path Tracing (UE5)
References/Images/falcor52_pathtracing_perfect_mirror.jpg References/Images/ue5_editor_lumen_perfect_mirror.jpg References/Images/ue5_editor_pathtracing_perfect_mirror.jpg
This looks like mix in diffuse(base color) to mirror plane... UE5 Path Tracing is also same result...

Directional Light

Property Value
Intensity 10 [lux]
Rotation (0, -90, 0) [degree]

Sphere Material

Property Value
Base Color (1, 0, 0)
Metalness 0.0
Specular Roughness 1.0

Plane Material

Property Value
Base Color (1, 1, 1)
Metalness 1.0
Specular Roughness 0.0

3. Perfect Mirror Weak White Plane

Reference Lumen Path Tracing (UE5)
References/Images/falcor52_pathtracing_perfect_mirror_basecolor_weak_white.jpg References/Images/ue5_editor_lumen_perfect_mirror_basecolor_weak_white.jpg References/Images/ue5_editor_pathtracing_perfect_mirror_basecolor_weak_white.jpg
Making Base Color as close to black as possible
will bring you closer to the reference image.
However, the reflection of the floor will also be weakened...
UE5 Path Tracing is also same result...

Directional Light

Property Value
Intensity 10 [lux]
Rotation (0, -90, 0) [degree]

Sphere Material

Property Value
Base Color (1, 0, 0)
Metalness 0.0
Specular Roughness 1.0

Plane Material

Property Value
Base Color (0.1, 0.1, 0.1)
Metalness 1.0
Specular Roughness 0.0

4. Glossy Plane

Reference Lumen Path Tracing (UE5)
References/Images/falcor52_pathtracing_glossy_plane.jpg References/Images/ue5_editor_lumen_glossy_plane.jpg References/Images/ue5_editor_pathtracing_glossy_plane.jpg
Plane is dark less than Lumen result...

Directional Light

Property Value
Intensity 10 [lux]
Rotation (0, -90, 0) [degree]

Sphere Material

Property Value
Base Color (1, 0, 0)
Metalness 0.0
Specular Roughness 1.0

Plane Material

Property Value
Base Color (1, 1, 1)
Metalness 0.8
Specular Roughness 0.2

TODO

  • Image Based Lighting Tests
  • Lighting Complex Scene Tests
  • Real-Time Lighting with Dynamic Physics Rigid Body Objects

About

Lighting Test for Unreal Engine 5

License:MIT License


Languages

Language:C# 68.6%Language:C++ 27.3%Language:C 4.1%