How can I make this doorway fade to darkness, rather than just a harsh black plane? I’m not sure if I should make a post processing material or just a material on a cube. I’m not very familiar with materials in unreal so I’m gonna need some help here.
What’s is through that doorway? Is it nothing and that’s a night skybox?
Sorry about the confusing white dots, those are particles. But in this image you can see with the black plane.
In this next image, you can see behind the black plane. The purple cube represents a bad guy.
Normally there wouldn’t be a light, it would like this image. If you look closely or raise the exposure on your monitor, you can see the cube, but I don’t want the player seeing the cube unless you turn on your flashlight. So for now I just made a black wall, then when you turn on the light it disappears, which works good, but it would look better if it faded to black instead of just a black wall.
In this last image, I added the wall.
So it kind of sounds like you need to modify the material opacity on an event?
Id yet up a fade component and call a sphere trace on the path of your flashlight, and fade/vanish the plane on hit
No, I didn’t mean fade out as in it changes over time, I meant like, a 3D darkness gradient or something. Maybe like a dark fog.
Maybe this could help: https://www.youtube.com/watch?v=2BxrGjPcirk
Apply a local fog volume sit it’s color to black
That might be a bit FPS expensive but I’ll try it.
Play with the falloff radius and reduce density as much as possible while keeping desired effect for less tax on fps