Home > Mobile >  How to add light effects to buildings in unity (building light)
How to add light effects to buildings in unity (building light)

Time:01-25

To be more precise I need a type of lighting that looks good to put on building models that already have a texture, I can't texturize the textures with light turned on apartments such as in GTA5 because I do not know how to create textures. I tried putting point light and spot light on buildings but it looks pretty bad, neon cubes are not good either as it makes the building look back. I hope you understand what I meant. https://www.pinterest.com/pin/515028907391792771/ Like that but no texturization

CodePudding user response:

To achieve the results in the image, you should use an emission map.

Creating these types of lights using the Light Component is inefficient. You must not Spot Light OR Point Light for this purpose.


SOME YOUTUBE VIDEOS:

CodePudding user response:

There are several ways to add lighting effects to buildings in Unity, but one popular method is to use real-time global illumination (GI).

One way to achieve this is by using Unity's built-in Enlighten renderer. This system uses light probes to capture the lighting in your scene and applies it to your objects. To use it, you can place light probes around your building and then assign the building's material to use the "Lightmap" shader, which will allow it to receive the captured lighting.

Another way is to use Unity's Progressive Lightmapper, it's a new lightmapper that provides real-time feedback and better results than the built-in renderer. It allows you to quickly bake lighting for your scenes and offers more control over the final look.

Another option is to use the Unity's HDRP/LWRP pipeline which offers a lot of options for lighting, including volumetric lighting which can achieve some great effects.

Additionally, you can add the lightmaps to your building's textures, this can be achieved by using external tools such as the Lightmap Baker for Unity.

You can also use Unity's post-processing stack to add effects such as bloom and screen-space reflections, which can help make your lighting look more realistic and dynamic.

Finally, you can experiment with different lighting settings and parameters, such as color, intensity, and falloff, to find the look that works best for your building.

  • Related