Why does enabling r.AllowStaticLighting on mobile with deferred rendering cause Subsurface Shading Mode to stop working, even when all lights are dynamic?
Is this a design limitation, or could it be a bug?
Why does enabling r.AllowStaticLighting on mobile with deferred rendering cause Subsurface Shading Mode to stop working, even when all lights are dynamic?
Is this a design limitation, or could it be a bug?
重现步骤
Description:
I’m working with UE5 on mobile using the deferred rendering pipeline. In my scene, all lights are dynamic. However, I’ve noticed an issue:
r.AllowStaticLighting=False, the Subsurface Shading Mode works correctly.r.AllowStaticLighting=True, the Subsurface Shading Mode stops working (it looks completely disabled), even though there are no static lights in the scene and all lighting is dynamic.Reproduction Steps:
r.AllowStaticLighting between False and True.Actual Result:
r.AllowStaticLighting=True, Subsurface Scattering (SSS) stops working.Expected Result:
r.AllowStaticLighting, since no static lighting is being used.Hi Xiao,
This is most likely a bug as there’s on clear reason why the two shouldn’t coexist. Can you attach a repro case so we can diagnose the issue?
Best regards.