R
R
Ratislavka2020-11-16 11:32:32
unreal engine
Ratislavka, 2020-11-16 11:32:32

Why is everything black after rendering light in UE4?

I'm making a game with voxel graphics, without rendering shadows (1 screen) it looks like everything is hanging in the air, as for me it's because of incorrect shadows. I decided to calculate them and after the calculation everything is black (screen 2) Who knows why and because of what it could be?
I think the reason may be that my PC is weak and cannot calculate the shadows.

1 screen
5fb238fbcb8d7578364406.png

2 screen
5fb23916a6e51349327389.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nekit Medvedev, 2021-05-27
@NIKROTOS

is there a light source?

W
Weekend31, 2022-02-09
@Weekend31

The power of the computer does not affect the quality of the light calculation in any way, only the time. To solve the problem try this:
1) Check the UVs of your objects. If it is not there, then static objects will turn black after rendering. To check, go to Static mesh -> UV -> UV Channel 0. There should be shapes with white edges on the bottom left
62040f5cb5343770958639.png
2) Check the quality of the shadows being created. The Light Map Coordinate Index should have the number 1. The Light Map Resolution should be from 4 (preferably 64 or more)
62041002c6f8a614223602.png
3) If all of the above did not help, then change the object type from Static to Stationary. This will degrade the performance of the game, but the object will be displayed normally.
62041de7890ae575399215.png
I don't fully understand why this is happening. For the first case, I have a theory that ue4 on a static object creates a 1px UV on its own, which causes the entire mesh to be shadowed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question