Page 1 of 1

Corona visible trough static mesh

Posted: Wed Jun 29, 2022 6:03 pm
by Youri87
Is there a way to let static meshes block a coronalight?
I made some wall mounted torches (static mesh) and in the fires on top i put a dynamic corona and i don't want it to shine through the static mesh, as if you walk underneath it you'll see the lensflare through it. And it looks odd. I want it only visible if the player is in a direct line of sight with the light (just like with normal brushes blocking light)
I know in UT2k4 there are some flags to switch this on and off, but i can't find how to do it in Unrealed2.1. I'm currently using 227i

Grtz Youri

Re: Corona visible trough static mesh

Posted: Wed Jun 29, 2022 9:52 pm
by Neon_Knight
Tried updating to v227j? It has a LOT of Editor, Engine and Renderer fixes, and it was released two weeks ago.

Re: Corona visible trough static mesh

Posted: Sat Jul 02, 2022 2:12 pm
by Youri87
Neon_Knight wrote: Wed Jun 29, 2022 9:52 pm Tried updating to v227j? It has a LOT of Editor, Engine and Renderer fixes, and it was released two weeks ago.
Ok I updated to unreal 227j, but i still can't figure it out. Is it even possible in Unreal / UT ?

Re: Corona visible trough static mesh

Posted: Thu Jul 07, 2022 8:08 am
by Krull0r
In the DynamicCorona properties is a property under DynamicCorona which allows you to set sight checks. I can’t check the right name of the option right now but it’s a switch where you can set world, movers and actors.

Set it to actors and your corona does not shine through anything anymore :)

It’s important that the meshes have collision enabled otherwise the corona will keep shining through your meshes.

Re: Corona visible trough static mesh

Posted: Thu Jul 07, 2022 4:47 pm
by Youri87
Krull0r wrote: Thu Jul 07, 2022 8:08 am In the DynamicCorona properties is a property under DynamicCorona which allows you to set sight checks. I can’t check the right name of the option right now but it’s a switch where you can set world, movers and actors.

Set it to actors and your corona does not shine through anything anymore :)

It’s important that the meshes have collision enabled otherwise the corona will keep shining through your meshes.
Thanks thx , it worked just fine. Although in the editor it will still shine trough the static meshes, but i tested it ingame and it worked properly.
thumbsup