Following my post Plugin FPrimitiveSceneProxy Billboarder - Engine Source & GitHub - Unreal Engine Forums
I hopefully began to implement the FPrimitiveSceneProxy::GetDynamicMeshElements with 4.6.1.
But GetDynamicMeshElements is still awful for translucent shadow passes:
I was hoping to be called only once per frame, receiving all views (camera’s views + shadow’s views). But instead, my GDME gets called once for all “camera’s views”, then gets called for each shadow pass of each lights !
It seems to me to be a “hack”: each shadow passes disgracefully overriding the ViewMatrix of an arbitrary View to get the job done (Engine\Source\Runtime\Renderer\Private\ShadowSetup.cpp:891).
Am I doing something wrong ?
Does GDME shadow passes will be improved before the deprecation of DrawDynamicElements for v4.7.0 ?
Or should I just stop trying to have shadows ?