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"

Hard lighting becomes soft when close to the floor.

Hi there, first of all I'm a noob with UE4 so I sorry if I don't get things right away.

I'm working on a small game that uses the lighting as a game mechanic which means the player needs to know where lights and shadows start and end. So the lighting can't have a smooth falloff.

The result is this: alt text

This is pretty much what I want it to look like, but there will be things like flashlights in the game which can be placed on the floor and as lights get close to the floor (or any surface) the falloff of the light starts to look smooth.

Like this:alt text

I don't even know where to begin fixing this. I suspect some kind of post processing material might help with this but I've never used them before and they seem quite overwhelming.

Product Version: UE 4.8
capture.png (417.7 kB)
capture.png (254.6 kB)
more ▼

asked Sep 23 '15 at 06:29 AM in Rendering

avatar image

1 1

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

1 answer: sort voted first

Just set the Inner Cone Angle and the Outer Cone Angle in the light settings to the same amount, that gives you hard light edges.

more ▼

answered Sep 24 '15 at 11:25 AM

avatar image


avatar image MilkyJoe Sep 24 '15 at 12:46 PM

This definitely helps get a much sharper shadow but unfortunately still becomes smooth when close to a surface. I need it to be a fairly consistent brightness all the way to the edge of the attenuation radius no matter where the light is in the scene.

alt text

capture.png (242.0 kB)
(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