Jump to content

Spot Light doesn't illuminate 360 degrees of terrain

Go to solution Solved by Torqus,

Recommended Posts

I have an issue with Spot lights not working on some Y degrees, I'm creating a terrain using Gaia 2021 pro and URP shader.

I just create a simple terrain using the World Generator, Generate runtime and Biome, then I add a spotlight and it just works on half the rotation degrees but not the other ones, for example on Y 0 it works but on Y 180 light is completely invisible.

I tried the same light on normal terrain and it works, it also works on objects with no problem, the issue is only with the gaia generated terrain.

Any ideas?



Link to comment
Share on other sites

Can you please try to increase the additional light count in the URP asset higher and setting the lights render mode to be important rather than not or auto: 

Link to comment
Share on other sites

Turns out it's not an issue with the lighting system, the issue happens on my custom biome with my textures but not on the default "Alpine Meadow" one. So I'll try changing the textures and finding out what the issue is.

Link to comment
Share on other sites

  • Solution

There, by going to the terrain layers and changing that "Normal Scale" from 1 to 0 the issue was fixed. Weird though because I am importing a normal map, but maybe it's missing something? I'll read about that. Light was probably not working because the normal was messed up on the texture.
Thanks for the help.


Link to comment
Share on other sites

  • 4 weeks later...

@Torqus I got same problem when I used mask texture in normal texture field by my mistake, maybe same happend to you? Changing normal scale to 0 completely removes normals, also when I google this problem, people adviced to check normal texture import type, there should be Normal map, not Sprite or Default.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Tell a friend

    Love Canopy - Procedural Worlds? Tell a friend!
  • Need help?

    We work with some of the biggest brands in global gaming, automotive, technology, and government to create environments, games, simulations, and product launches for desktop, mobile, and VR.

    Our unique expertise and technology enable us to deliver solutions that look and run better at a fraction of the time and cost of a typical project.

    Check out some of our non-NDA work in the Gallery, and then Contact Us to accelerate your next project!

  • Create New...