demander писал(а):Тоже заинтересовал этот вопрос, рендерёных текстур нет, есть кубмапы, и пара сложных шейдер с малтиплаем текстуры на текстуру через параметр. что жрет время под названием RenderTexture.SetActive очень интересно.
Figured out the problem immediately, and with any hope this might deliver insight to anyone else who has had the same issue. My GPU went from approximately 100FPS to 2000FPS by switching the "maximum prerendered frames" property in the Nvidia control panel for Unity.exe from 0 to 3. 3 is the default number, but it's worth checking, especially if you might have changed it. (You have to exit Unity after changing the setting.) You could potentially set the number even higher, and maybe it will fix something.
[edit:] the spikes themselves still seem to happen, but the FPS on average has become a lot faster, so I can't complain. Plus the highest spike I've seen yet is 45ms compared to 332ms before.
[edit2:] Currently wondering when my FPS from this project went from 650ish to 100. Regardless, I'm happy with this.
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 14