#HELP with HDRP lighting

1 messages · Page 1 of 1 (latest)

autumn edge
#

I'm doing a small study on lighting and using the Sponza scene. I have the same setup in all the projects: the same cameras with identical physical settings, the same directional light, and the same HDR skybox with the same rotation. However, in HDRP, the lighting doesn't behave the same way. The light doesn't pass through the windows, and nothing I've tried so far has made a difference. What could I be missing?

Edit: I'm using just baked light but with real time lighting does the same

dusty ridge
#

Far as I know URP and HDRP use the exact same lightmapper, in the same way

autumn edge
dusty ridge
autumn edge
#

The lights are fully baked, no mixed lighting. I just ran a test and it seems the problem isn’t the light itself, but the HDR sky I'm using. For some reason, it’s not contributing to the baked lighting.

autumn edge
#

this are my settings for the sky box

#

I mean, the HDR sky is contributing some light, but the sun visible in the HDR image isn’t. In URP and Blender, if an HDR sky has a visible sun, it usually acts like a directional light. But that doesn’t seem to be the case in HDRP.

dusty ridge
#

As there can be many in the scene

dusty ridge
#

If your directional light is baked, you shouldn't be able to rotate it and have its light follow the rotation
At least not until you've cleared baked data and it's being rendered as realtime temporarily

autumn edge