I hope to create a building blackout effect.

I want to create a blackout effect in a building. I tried changing the window material to self-luminous, but the player can’t control it, and I hope to use something like splines to batch generate it. I also tried changing the material to semi-transparent and attaching a texture, adding lights inside the building, but when I zoom out, the texture becomes darker until it is invisible. So is there any way to achieve a blackout that the player can control and that can be batch generated?

Why wouldn’t they be able to control it? You can control emissive with a scalar param. Also, if you want to apply an effect to a bunch of various materials all at once:

Apart from that, you may need to add details regarding what needs to be done. What exactly are you hoping to spline batch-generate?

1 Like

I don’t get how increasing emissive is going to make the building darker?..

Maybe can you offer a more detailed explanation,or video/image reference of what your trying to do. You say blackout effect but then your saying you’ve added emissive mats and lights so I’m a little confused…are you trying to achieve something along the lines of total darkness if the player does something like flips a light switch?

Since changing the window material to self-luminous didn’t give you player control, you can instead create a custom material that uses a parameter to control its opacity or emissiveness. This would allow you to programmatically or interactively toggle the blackout effect.