Hi all, I’m new to Unity, I’m trying to figure out how to customize lighting in a URP project. Besides, English is not my native language, so sometimes it is difficult to find information even with a translator.
In my project there is a minibus (camper or house on wheels). The minibus is moving (not a static object). The sun is also moving (dynamic time of day change). I want to make the lighting inside the van depending on the lighting outside and the sunlight hitting the window. At least somewhat close to realistic.
What I have so far (I uploaded the video to drive google):
As you can see, the inside of the van is too bright even though no sunlight is hitting it. And the lighting doesn’t change at all, even if the sun shines directly through the window.
And this is what it looks like if you reduce envirinment lighting and environment reflections to make it darker in the shadows:
But it’s no good either. The sunlight doesn’t light up the van at all. It looks completely unnatural.
Maybe someone can tell me how to make normal lighting inside the van. Or point to a good tutorial suitable for my case. I would be grateful.
But light probes only work with static objects and static light. Or am I wrong?
In all the tutorials for light probes I see that include static for objects.
I think you need to find a third-party solution because currently the GI in URP doesn’t support both dynamic lighting and moving objects.
However, I heard that you can still move “static” objects after the precomputation (visibility between objects) of Enlighten GI. It’s just that the GI may not look correct.
Note: I don’t recommend heavily relying on Enlighten since it’ll be removed in the future Unity versions.
Great effect. Is what’s shown in the GIF your scene? I’ve tried to reproduce something similar, but I didn’t get such a clean response to ambient light. Could you briefly describe the settings to achieve this effect?