Skip to content

Instantly share code, notes, and snippets.

@pixelmager
pixelmager / pixelpedant.md
Last active November 13, 2023 13:11
pixel pedant

a tool like colorcop, but with the purpose of inspecting pixels, rather than picking colors.

  • resizable window like gifcam
  • zoomed window next to org pixels
  • levels-filter
  • run random shader on image
  • before/after snapshots in tabs to flip between
  • and diff-tool?

analysis

  • live histogram / waveform?
@pixelmager
pixelmager / screenshot.cs
Last active October 19, 2022 15:03
Unity HDR screenshot
if ( DoHDRscreenshot )
{
DoHDRscreenshot = false;
int w = source.width;
int h = source.height;
RenderTexture rt_hdr = RenderTexture.GetTemporary( w, h, 0, RenderTextureFormat.ARGBHalf );
Finalpass( source, rt_hdr, bloom_rt, distortion_rt, distparms ); //note: final posteffects pass