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"

how to prevent sun from reflecting inside

alt text

i can see the sun reflection while inside

is this intended behavior?

could i set up to prevent this somehow from reflecting while im inside and surrounded by bsp?

im using the skysphere from engine content

best regards

Product Version: UE 4.14
Tags:
unbenannt-1.png (444.5 kB)
more ▼

asked Dec 30 '16 at 04:50 PM in Using UE4

avatar image

endbored
36 6 7 12

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

2 answers: sort voted first

Is this a "soft" corner or a solid corner?

Corners

Soft corners can mess with the math involved in determining where light falls.

corners.jpg (48.9 kB)
more ▼

answered Dec 30 '16 at 05:46 PM

avatar image

Looniper
756 22 7 36

avatar image endbored Dec 30 '16 at 07:41 PM

i see your picture but i don´t understand that soft and solid corner stuff, sorry.

in the screen there is a 90 degree corner, if that matters basically its only a square brush subtracted from a larger square brush, there are no other angles than 90 degree

the effect is everywhere inside, not only on floor, not only in corners, its also on walls depending on the looking direction

avatar image Looniper Dec 30 '16 at 10:39 PM

corners examples

^ A pair of FBX files showing the different corners.

If the corners are solid you may try exporting the BSP blocks as FBX and importing them again.

The physics brushes aren't actually meshes so they have a few quirks of their own. They are intended for quick building with the expectation you will replace them once you have the basic idea worked out. (boxing)

If neither of those ways work, if you send me a copy of the map itself, I can make the actual meshes to replace the BSP brushes and see if that fixes your problem.

(sorry it took so long to respond)

corners.zip (37.5 kB)
avatar image endbored Dec 30 '16 at 11:28 PM

thank for the example, i now understand what u are saying.

the corners are solid in my case then, i built it this way mostly because of the looks from outside..

i will try to convert it to static mesh, but afaik i cant convert it back to BSP after this step, so it will be impossible for me to make changes or adjustment to the geometry and materials of this, is that correct?

the specific object is a three story house, using simple geometry

is it better to convert every single brush into a mesh each or should i do the whole building to one single mesh?

avatar image Looniper Dec 30 '16 at 11:36 PM

Hmm. I don't know why it would 'seep' than.

Let me throw together a few meshes and upload them - maybe see if solid meshes fix the problem.

avatar image Looniper Dec 30 '16 at 11:43 PM

Boxes

Just 3 cubes with different origins. One that sits on the floor/ground, one that is centered, and one that sits under a plane to work as a floor.

See if putting down a "floor" and wall piece block the light seeping in.

meshes.zip (314.2 kB)
avatar image endbored Dec 31 '16 at 04:23 PM

thanks for your help and examples, i even tried that, but sorry i think its not something directly to do with lighting or leaking light because the scene does not get brighter or darker in relation, its only the shiny sun disk thats reflecting on the brushes materials, while it should not do when inside and surrounded by geometry..

the lighting itself from the directional light is not going inside, it seems blocked by bsp, not the reflection tho

maybe i can fix this inside the skysphere_bp or material settings of the surfaces?

avatar image Vaheva Mar 31 '17 at 01:23 AM

This is no matter soft or hard corner, because this is no light leaking, but reflection, cubemap problem and connecting walls have any influence.

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

Hi

This is problem I have seen before on some UE demo Content Example, this scene with palace on ocean, same as your problem in few darker corners. And in many other games it happens too.

Back to answer, you should add Box Reflection Capture to this place. Maybe this box should cover whole room or just this corner, it need tests. Also, Box Reflection Capture settings must fits room size, because if will be bigger - default is 1000x1000x400 - it will be gather reflections from out of this room.

This can be pain anyway, but in my opinion this is worth for realistic effect. If still problem, even after adding Box Reflection Capture (or in some cases Sphere Reflection Capture) you have few emergency solutions, used a lot in game design:

  • limit reflecting surfaces

  • add ambient light to dark rooms/places

  • play some with post process effects - in short words...

  • create custom cubemap for this place - and this is best, but most costly solution in UE

Have a fun and good luck

ps. Dark places with reflections creating always problem in any known engine, please correct me - I hope.

more ▼

answered Mar 31 '17 at 01:36 AM

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