Materials:
- Master materials are where you connect all the nodes, it's where the complex bulk is - where the behind the scenes stuff is constructed.
- Material instances are where the simplified settings are with the most commonly adjusted parameters. It's where selected attributes from the master material have been converted to parameters.
- Parameters are the tweak options that appear in a materials.
Landscape Mode:
Landscape mode tools |
Landscape mode settings |
However, something that was completely new and impressive to me was being able to paint landscapes in real time using and blending multiple materials! In this example, I was painting with grass, dirt, rock and gravel materials, switching the target layer I was painting with. I was able to preview my strokes as I was making them - no need to go into another software to edit, export, replace and update!
How to set landscape blending:
Foliage Tools:
Lighting:
- Stationary lighting keeps lights still but let’s object move and keep a shadow e.g. a character running around in a scene.
- Static lights are good for global illumination and calculating bouncing light. Unreal engine takes that information and instead of having it lit in real time, it is baked into a light map (aka shadow texture) which is overlaid on the entire level. It fakes the light because it is not there in real time.
- Point light: These are like light bulbs in your house, all lightbulbs have either a warm or cool looking temperature.
- Directional light: Mimics the sun.
- Spotlight: Same as in real life and Maya. Falloff is edge feathering.
- Rectangular light: Unreal equivalent of Maya’s area light. Barn door angle is this light’s falloff.
- Skylight: No immediate change in viewport. Simulates light being produced from the sky, gives everything a slight bluish tint.
Skylight can be shown with sky atmosphere and a sun (directional light). Bring all 3 into a scene, under directional light’s 'atmosphere and cloud settings' find Atmosphere sun light and turn it on.
Exponential height fog allows you to change the bottom of the sky in a scene, (where it’s black) and change the start distance to 500.
Another great feature Unreal offers is the post process volume box, it acts a bit like a scene post editor and can contribute a lot to lighting. This is great because you can choose where in a level these effects apply. To extend this to the entire level, Details > Post processing volume settings > tick Infinite Extent (Unbound) box.
Below are some common lighting errors I made note of and posted here just in case:
If you get any lighting errors, this is where you need to start optimising. Drag Light Mass Importance Volume into the scene, scale it to encompass where you want the engine to focus lighting and rendering.
If reflections don’t look right, it’s because you need either a sphere or box reflection capture (or reflection plane).
To view the light map, go to Lit > Optimised Viewmodes > Lightmap Desnsity. Each square represents a pixel of our baked lighting texture. Blue represents low resolution, green is high resolution, yellow is higher resolution and pink is the selected object. Ideally for a architecture scene they should be yellow/red range.
Image from: https://magazine.substance3d.com/building-an-interior-for-unreal-engine-cg-breakdown/ |
If you’re getting poor shadows it’s because the light map needs a higher resolution so select the object with poor shadows > lighting > overridden light map res > 512 > build.
To find the settings that unreal uses when baking the light go to World Settings > Lightmass > Lightmass Settings. (Below is a starting point).
Static lighting level scale: 0.1.
Num indirect lighting bounces: 10.
Num sky lighting bounces: 10.
Indirect lighting quality: 10.
Indirect lighting smoothness: 1.3.
More light bounces = more overall light.
Decreased static lighting level scale which decreases the range at which the lights are looking for objects, the lower it is the more shadow detail you get. This might cause light map issues so that’s when the indirect lighting quality goes up.
General equation: Static lighting level x Indirect lighting quality = 1.
(0.1 x 10 = 1).
Sometimes you may get reflection errors, this is because there are 2 reflection methods are at work and are conflicting with each other. Sphere reflection capture and screen space reflection.
To deactivate screen space reflection, you need to use a post process volume. Place Actors > Post Process Volume (drag into viewport). Scale it so that it encompasses the entire scene and in the details tab go to Rendering Features > Screen space reflect > Intensity change to 0.
If there are still errors it’s because unreal engine needs to refresh a photo of the scene. To retake, got to Build (arrow) > Build reflections captures.
The reflections still may not be accurate so, Place Actors > Sphere Reflection Capture. Place it inside an object and change the influence radius to 100. Recapture reflections.
No comments:
Post a Comment