Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  interpolation running despite being off
#3
(07-04-2021, 11:15 AM)josemendez Wrote: The "Interpolate" function call does two things: interpolate particles if needed (which is extremely cheap btw), then trigger the rendering callback.

So all cloth mesh updating / rendering will appear under the "interpolate" call in the profiler. Unfolding the "interpolate" call will show these.

In your case, 5ms spent there means the cost of updating mesh vertices/normals/tangents is quite high. Maybe you can use a cheaper tangent update mode in your cloth mesh renderer component.

Also keep in mind that you're not actually using Burst, as the warning in the solver is telling you. You don't have the required dependencies installed, so the simulation will fall back to the native backend (Oni).

Great advice thank you, i had no idea tangent space had such a huge impact saved me a solid 30%.

I couldn't find any documentation advising me what are the benefits of each mode? seems like copy normals from sim and recalculate normals from mesh are both running about the same performance-wise, is there any logic I should use to pick which is better for my use case?
Reply


Messages In This Thread
RE: interpolation running despite being off - by zagoalie - 07-04-2021, 11:35 AM