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] Why is Static Lighting creating weird results?

So i want a small lava river to light up a room. What i did was put some point lights around the lava to make it seem like the material was lighting the scene. If there is a better way to do this please point it out. The problem is that even with a high resolution lightmap and many tries the results look really weird. Please help.

alt text

This are the weird shadows in game mode.

alt text

This are all the point lights used

alt text

This is the point light setup

alt text

And this is the lightmap density

Product Version: UE 4.16
Tags:
more ▼

asked Feb 22 '18 at 03:22 PM in Rendering

avatar image

LBOG
10 1 3

(comments are locked)
10|2000 characters needed characters left

4 answers: sort voted first

Problem with emmisive materials is that they have a very hard decay in illumination.

So those are very practical for very close distance lights; but the decay of illumination is very fast. Many times you would not be able to light your room using this kind of materials unless you use huge numbers that will burn the objects that are close to the emmiter.

You can also use spotlights that have a radius and a length (like 3d properties), that will make the emmiter to have a different shape than a point.

Finally you can also use an interesting trick: You add a white plane thar "refracts" the light, as a photographer would do. (just by pointing a spot on that plane that floats over your lava). After you bake the scene illumination, you just make that plane not to be renderable in it's properties. For some extra control, you can set the plane to cast shadows or not cast shadows over the lava underneeth, it's up to you how it works better.

That would build up a smooth scattered area light from the refraction of the plane. Very usefull trick to fake area lights, and make great architectural ullumination.

more ▼

answered Feb 23 '18 at 09:45 PM

avatar image

dogrush
138 4 120 14

avatar image LBOG Feb 27 '18 at 04:57 PM

Thank you! You saved my life!

(comments are locked)
10|2000 characters needed characters left

Hi!

I think you should achieve the effect in a different way: https://docs.unrealengine.com/latest/INT/Engine/Rendering/Materials/HowTo/EmissiveGlow/#emissivematerialsinaction You can set the emissive strength in your material! It will work as a light in your scene so you won't have to use those spotlights!

more ▼

answered Feb 23 '18 at 08:54 PM

avatar image

Makigirl
1.1k 3 4 8

avatar image Makigirl Feb 27 '18 at 03:14 PM

...so this is lit by the floor's emissive material... no other light source... alt text

alt text

01.jpg (332.6 kB)
02.jpg (310.2 kB)
avatar image LBOG Feb 27 '18 at 04:57 PM

Thanks a lot, i have used this with a spot light and it looks great!

(comments are locked)
10|2000 characters needed characters left
more ▼

answered Feb 23 '18 at 09:52 PM

avatar image

dogrush
138 4 120 14

(comments are locked)
10|2000 characters needed characters left

You should use less static lights, instead create glow material - it can be animated too (material glow). Best result in yur case will be with combination static lights and glowing material. Static lights in this case should have bigger radius, you should play also with length. And best result will be with additional light function - you can read about it all in docs. And check different shadows settings.

more ▼

answered Feb 23 '18 at 10:07 PM

avatar image

Vaheva
1.2k 22 23 42

(comments are locked)
10|2000 characters needed characters left
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