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"

Lighting and shadows

I'm almost finish with lighting in this level I've done, the colors and tones came out as I wanted. But my number one concern is why isn't there shadows on my trees and why are the leaves blacked out? Am I missing something? Is there a setting in the Post Processing I missed? alt text

Product Version: UE 4.15
Tags:
more ▼

asked Jun 19 '17 at 11:31 PM in Rendering

avatar image

SoraJr
268 64 52 69

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

2 answers: sort voted first

A quick guess would be that your trees lightmaps aren't working properly. First thing to double check is that your trees have a lightmap. Open the Tree asset in the static mesh editor and click the UV's button in the top toolbar, then click the "UV Channel" pull down to the right of it. Ensure that you have 2 UV channels. If you don't, you'll have to create one.

Are you getting an "overlapping UV's warning" on your tree mesh after you complete your lighting build? My guess is that this applies to the leaves as well. I've seen it happen to smaller geometries, where they lightmap UV's are too small along with the specified lightmap resolution.

more ▼

answered Jun 21 '17 at 03:54 PM

avatar image

arrpeatwo4
171 2 3 7

avatar image SoraJr Jun 26 '17 at 08:15 PM

When I click on the UV channel, it has 7. But I set it to the first one by changing the Lightmap Coordinate index to 1. Also, yes I do get a OverLapping UV warning. Question what would a good size lightmap resolution for those trees? I set them to 64

avatar image arrpeatwo4 Jun 26 '17 at 09:45 PM

Ok, if you have 7 UV Maps that leads me to think that your leafs are in a separate map and aren't getting light information baked to them.

My suggestion would be to open up your asset in blender, delete all the UV Maps and create 2 new ones. Then unwrap your mesh using the SmartUV Project tool and create 2 identical UV Maps. Export that to FBX and reimport it into UE4, set your Lightmap to UV map 1 again, then try to bake.

I'm not sure if UE4 would know what to do with 7 UV Maps. In my experience I use 2. Channel 0 for all of my textures and Channel 1 for lightmaps.

Edit:. Bake = Build Lighting

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

Hello SoraJr

Can you show us your "tree and leaf" material for we can check if something missing or wrong? I dont think its because of post effects.

Thank you.

more ▼

answered Jun 21 '17 at 02:40 PM

avatar image

KemalGunel89
126 2 5 16

avatar image SoraJr Jun 26 '17 at 08:09 PM

There are three leafs material that look the same.alt text

Plus two tree materials alt text

capture.png (227.7 kB)
capture99.png (230.4 kB)
avatar image SoraJr Jun 26 '17 at 08:22 PM

Update, this is the look I'm going for. I just need to fix the shadowsalt text

(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