x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Question about lighting in "Stylized Rendering" demo.

Hello.

Stylized Rendering demo has some specific lighting that I want to recreate but have trouble doing so. In the demo areas covered by shadows are still evenly lit and relatively bright. On the default settings in a new project shadows are much, much darker, sometimes almost completely black. I want to achieve that cartoon style lighting where shadows can be used to enhance the look of a scene, but even in completely shaded areas (insides of buildings without any light sources) things are clearly visible. Basically darkest possible situation should not have "zero" light, but a bit more. I tried duplicating both post process and directional light but I can't achieve this effect. What causes it?

I managed to achieve something similar by using an ambient cubemap but it acts weird for values lower than default.

From the top of my head Overwatch uses this effect really well (I know it's not UE4 :P)

Thanks for help.

Edit: When I remove directional lighting (the only source of light that I think is there) the scene is still clearly visible, instead of pitch black. What causes that?

alt text

Product Version: UE 4.12
Tags:
more ▼

asked Aug 28 '16 at 11:49 PM in Rendering

avatar image

Allshar
55 3 9 15

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hi Allshar,

As you already noticed you didn't see anything that stood out in the Directional Light or the Post Process, but you missed looking at the World Settings > Lightmass settings.

These are level specific settings where you can set various settings for how Lightmass works for your level. Here the Environment color has been shifted to be a lighter color more in line with the stylized nature of the demo. Typically this is left on Black by most default levels. Also, the enviornment intensity has been changed to be 5 vs the default 1, which can cause a lot of the brightness to subside when building without a light in the scene.

When you removed the directional light and still saw that there was lighting being baked that is because the enviornment color had been adjusted to be lighter which will change how lightmass color works for the shadowing. When it's set to black it's relying more on light in the scene to generate this type of lighting, where now the environment color adjustment is being tweaked to give it a much lighter color, whether a light is present or not. With a light it'll be brighter, but without it'll be darker, but still have a lighter tone.

These are two really helpful documents to help you understand more about lightmass:

more ▼

answered Aug 30 '16 at 02:32 PM

avatar image

Tim Hobson ♦♦ STAFF
48.8k 888 103 878

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question