/ComputeHistogram

Unity compute shader sample: Histogram analyzer

Primary LanguageC#

ComputeHistogram

gif

ComputeHistogram is a Unity compute shader sample project that calculates a histogram of a given image.

It contains two versions of the implementation:

  • Analyzer1: A naive implementation
  • Analyzer2: An optimized version utilizing thread group shared memory