Reply To: HDRP baked spotlights: restrictions? bugs?

Forum Archive HDRP baked spotlights: restrictions? bugs? Reply To: HDRP baked spotlights: restrictions? bugs?

#50679
Jonathan Gonzalez
Participant

    It could be that your lightmap resolution is too low. I mentioned it a bit in the course, but if the resolution is too low you’ll lose some of the lighting information and get very low quality baked lighting. That might be the first thing to adjust.

    Another thing it may be is the limit on how many shadows and/or lights that can be baked in your scene. I would first disable shadows being generated from those lights to see if that works. If you notice all your lights work with shadows disabled for some, that means you’ve reached your shadow limit. 

    You could also increase the amount of shadows/lights you can use in your scene. Since we’re using HDRP you’ll need to modify those settings in the HDRP asset created initially. Here is a screenshot of where you can update that info:

    Click on the HDRP asset in your project panel, then in the inspector locate the “lighting” section. You’ll see the settings shown in the image near the bottom of this section. On mine max shadows is set to 128. You can bump that up to see if that resolves the issue and/or use shadows for lights that actually need it. 

    While I doubt you have that many, you can also increase the “Maximum Punctual on Screen” light setting. Punctual lights are spot/point lights.