That Clip Plane was the last thought I had yesterday before leaving. And it works, so no more hiding/unhiding the highpoly object!
But the SceneCapture is still very expensive. Is it always rendering the highpoly object and clips afterwards?
The Base Pass of the SceneCapture has the most impact, the shadow calculation for one directional light cost only 5ms.
The materials on the car also doesn't impact the FPS much, I tried a simple grey one for everything and gained only 1-2 fps.
So Tick events go through the CPU and of course vertex shader instructions through GPU. I have to edit the Material of the ShadowCatcherPlane to implement those instructions? But I can't follow your instruction about the camera direction... Do you mean the SceneCapture when you say Camera? Thats a bit confusing for me, but hiding/unhiding the ShadowCatcherPlane seems not to have an impact on the FPS, so that can be as it is. Still i'm curios about your way of hiding it
If i cant reduce the impact of the SceneCapture Base Pass, i have to dig deeper and find another way.
For now the FPS without SceneCapture/Shadow is by 30...
With = 12-13 FPS...
Here some Stats:
But the SceneCapture is still very expensive. Is it always rendering the highpoly object and clips afterwards?
The Base Pass of the SceneCapture has the most impact, the shadow calculation for one directional light cost only 5ms.
The materials on the car also doesn't impact the FPS much, I tried a simple grey one for everything and gained only 1-2 fps.
So Tick events go through the CPU and of course vertex shader instructions through GPU. I have to edit the Material of the ShadowCatcherPlane to implement those instructions? But I can't follow your instruction about the camera direction... Do you mean the SceneCapture when you say Camera? Thats a bit confusing for me, but hiding/unhiding the ShadowCatcherPlane seems not to have an impact on the FPS, so that can be as it is. Still i'm curios about your way of hiding it

If i cant reduce the impact of the SceneCapture Base Pass, i have to dig deeper and find another way.
For now the FPS without SceneCapture/Shadow is by 30...
With = 12-13 FPS...
Here some Stats:
Comment