What is this "HW Rasterize" and why is it so heavy?

I’m trying to optimize my scene but I see by doing a Profile GPU that in “Shadow Depths” → “Nanite Shadows” → a “HW Rasterize” that hurts my performance by a lot and I cannot find anything online about it. Would anybody know anything on what I’m looking at and how to optimize it? :pray:

3 Likes

This is shadow calculation for Nanite meshes.

If your light source does not change its position during the game, Virtual Shadow Maps can help with performance.

Another option if you do not use Virtual Shadow Maps is to reduce the range of dynamic shadow drawing and turn on Distance Field Shadows to the maximum (or optimal for your case) radius.