With this game I’m working on, trying to add some 2D lighting. I am novice when it comes to lighting and not sure where to start - this is complicated by the fact that, unfortunately, I cannot seem to get URP working with this project, and all the tutorials I can find are for URP. When I try URP, this happens: Universal Render Pipeline screen tear / ghost image help
Does anyone know any good sources for the default render pipeline?
Here’s where I’m at now:
Ideally, I’d like to put some point lights on points of interest, like the base of the lava falls.
I’ve tried playing around with the material and getting weird results. In the above video, the middle of the image seems to get the most lit, with a point light, but the edges less so, even when I move the light directly overhead of the edge of the tilemap. It still gets lit, but less intensely. Is this some lighting setting? If you look at the trees, you can see the middle ones seem brighter. Here’s another example:
If you focus on the colour of the red lava, you can see it’s brighter when the light is on the left, and not on the right. Unless that’s the reflected lighting off the yellow sand?
Oddly, the lava walls do not get lit either, even though I am using the same material. Any ideas why that could be? Everything else is a tile on a tilemap, while the lava falls are game objects with animations / animators - but using the same material.
I’m using “Sprites > Diffuse” as the material / shader.
I tried some other materials to experiment with my loading screen, ie, Mobile > Vertex Lit, for instance, seems to light the corners of my test loading screen sprite:
But if I move the light over the center of the image, it goes dark:
I’m kind of shooting in the dark here. These are my lighting settings:
Also, I may need to look at optimizations as well, as this will be going on console.







+








