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"

Shadows on same material different color

So I have this screenshot here alt text

The green and the blue are the same material, just different instances. The only settings that are changed are the colors. Why is the shadow so much darker on the blue surface compared to the green? how can I fix this, I need my shadows to be fairly light

As a secondary question, I have a masked material I use for a foam effect and that doesn't receive shadows for some reason. Any idea how to fix this? alt text

Product Version: UE 4.15
Tags:
more ▼

asked Apr 12 '17 at 12:55 AM in Rendering

avatar image

Chef_Seth
18 5 10 13

avatar image IGorilla Apr 12 '17 at 05:23 AM

If you turn the green material into a blue one, does it get darker shadows?

avatar image Chef_Seth Apr 12 '17 at 05:38 AM

No, its always darker on the object that is blue and lighter on the green, regardless of what color either of them are. I've changed the color of both several times. The green is a completely different actor, I assume that has something to do with it?

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

1 answer: sort voted first

It could be so many things....

I'd suggest building your lighting. Check your mobility settings as well. Try setting them to moveable. But the lighting build should resolve it.

more ▼

answered Apr 12 '17 at 11:10 PM

avatar image

vanlacke
1.5k 65 132 103

avatar image Chef_Seth Apr 13 '17 at 01:00 AM

I've built my lighting several times with no change. There are warnings that come up when I do, but no errors, is that the problem? The warnings are from sprites I have in the map that aren't two sided and it says they won't light correctly which is fine because I'm deleting them anyway. There are also a few level streaming volumes I have set up that aren't connected to a level and those have warnings. I don't see why those things would affect this though

avatar image vanlacke Apr 13 '17 at 01:04 AM

I've been trying to replicate this issue but I can't. I'd be happy to take a look if you'd be willing to upload the project.

Or maybe even just the material.

The only other thing I can think of to try is changing mobility settings but that probably won't help if building the lighting didn't.

avatar image Chef_Seth Apr 13 '17 at 01:07 AM

I've heard some people have issues with shadows when they upgrade projects between versions and this project has been upgraded from 4.14 to 4.15 so maybe that's it? I've hacked it together by having a light on channel 3 that illuminates just the water so the shadows are lighter but that's not a great solution. Also do you have any ideas why my masked material isn't receiving shadows?

avatar image vanlacke Apr 13 '17 at 01:11 AM

I don't know. Lighting can be tricky. It's something I'd have to mess around with myself I think. I thought for sure building the lighting would work since I had a similar issue before, too bad that wasn't it.

Again I'd be happy to work on it, but only if you're alright w/ u/ling it. GL.

avatar image Chef_Seth Apr 13 '17 at 01:19 AM

My project is big, bigger than it should be for sure. I'm just outside the file size limit for this website, any other way I could send it to you?

avatar image vanlacke Apr 13 '17 at 01:21 AM

Anywhere is fine, google docs or something. Deleting the "saved" and "intermediate" folders, as well as archiving it reduces file size a lot.

Definitely back it up just in case.

Up to you

avatar image Chef_Seth Apr 13 '17 at 01:49 AM

https://drive.google.com/file/d/0B42hO6yFLZGtelVxMkhsM1ZwQ3c/view?usp=sharing here you go. I deleted some old sprites that shouldn't be referenced anywhere, but if you get missing file errors or anything, that's what that is and it shouldn't affect anything. I really appreciate you offering to help, I hope you figure it out.

avatar image vanlacke Apr 13 '17 at 03:18 AM

Had to go out as a soon as ya commented. But I just opened it up and unfortunately I don't get the same error as you. And again I couldn't replicate it even with your project..

However the problem with your foam not receiving shadows was that you had the z scale at .00001. You're better off using a plane for that instead of scaling a cube, as doing that messes with the normals.

I'm guessing that perhaps you have darker shadows for some other reason, like graphics card or something. You could try creating a fresh project and migrating your materials and testing it out there.

alt text

_26.png (194.3 kB)
avatar image Chef_Seth Apr 13 '17 at 03:22 AM

Well, thanks for testing it out and for fixing the foam! I'm not excited about migrating everything but I guess it will be worth it. Thanks!

avatar image vanlacke Apr 13 '17 at 03:23 AM

All you need to do it right click on the materials (and whatever else you want to test) and migrate to your fresh project. It's all automatic. Could be done in seconds :)

OR

Make a new map, and test it there with fresh/default directional light, postprocessing, skylight, world settings, etc etc etc

(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