Unity GPU compute shader - fast surface area calculator (source code)

preview_player
Показать описание
Source code:
Рекомендации по теме
Комментарии
Автор

Thanks for video, you can get even more performance if wrap shader dispatch to async method

tkasch
Автор

In video performance is a bit lower (due to video recorder working in background). Area.cs script assign to Main Camera.

PrzemyslawZaworski
Автор

amazing job, i am counting painted pixels on the wall with this but, like after 3-4 seconds . Percantage counter resets . any idea why does that?

Drumcover
Автор

Hi. This is awesome. I want to calculate unlit( total shadow) areas. How can I change the shader?
Thanks a lot. Have a nice day.

zuo