================================================================================
  INKBOIL - CREDITS
  Kaelll, 2026
================================================================================

Inkboil is written from scratch. It borrows no code from another shaderpack.
It does, however, stand on published rendering techniques, and those have
authors. This file names them. It is part of the Pack and must be kept intact
in any authorised redistribution (see LICENSE.txt, section 5).

--------------------------------------------------------------------------------
  EDGE DETECTION AND CEL SHADING
--------------------------------------------------------------------------------

Takafumi Saito and Tokiichiro Takahashi
  "Comprehensible Rendering of 3-D Shapes", SIGGRAPH 1990.
  The founding idea Inkboil's outline pass rests on: detect edges in the
  G-buffer - depth and normals - rather than in the finished picture. Every
  screen-space outline in every game since is a descendant of this paper.

Philippe Decaudin
  "Cartoon-Looking Rendering of 3D Scenes", INRIA research report 2919, 1996.
  The reference description of cel shading combined with outlines.

Adam Lake, Carl Marshall, Mark Harris, Marc Blackstein
  "Stylized Rendering Techniques for Scalable Real-Time 3D Animation",
  NPAR 2000.
  Quantising the diffuse term into a small number of bands, which is what
  ib_celBand() does.

Inkboil's own contribution here is the second-derivative-of-inverse-depth
test in common/ib_ink.glsl. Under perspective projection 1/z is affine in
screen space across any plane, so its second derivative vanishes on flat
surfaces regardless of their inclination. That removes the classic false
positives on ground seen at a grazing angle by construction rather than by
threshold tuning. The observation itself is old and well known in the
rasterisation literature; applying it as the outline test is the part worth
pointing at.

--------------------------------------------------------------------------------
  HATCHING
--------------------------------------------------------------------------------

Emil Praun, Hugues Hoppe, Matthew Webb, Adam Finkelstein
  "Real-Time Hatching", SIGGRAPH 2001.
  Tonal Art Maps: hatching layers that appear successively as tone darkens,
  which is exactly the progression ib_hatchAmount() implements - though
  Inkboil builds its strokes procedurally in screen space rather than from
  prepared textures.

Bert Freudenberg, Maic Masuch, Thomas Strothotte
  "Real-Time Halftoning: A Primitive for Non-Photorealistic Shading",
  Eurographics Workshop on Rendering, 2002.
  Keeping stroke width constant in screen space, which is what makes the
  hatching resolution-independent here.

Holger Winnemoller, Sven Olsen, Bruce Gooch
  "Real-Time Video Abstraction", SIGGRAPH 2006.
  On abstracting an image into flat regions bounded by lines.

--------------------------------------------------------------------------------
  TONE MAPPING, EXPOSURE, COLOUR
--------------------------------------------------------------------------------

Erik Reinhard, Michael Stark, Peter Shirley, James Ferwerda
  "Photographic Tone Reproduction for Digital Images", SIGGRAPH 2002.
  The log-average luminance measurement and the tone curve used in
  composite1 and composite2.

Jim Hejl and Richard Burgess-Dawson
  The filmic curve approximation used by IB_TONEMAP = 2.

--------------------------------------------------------------------------------
  ANTI-ALIASING
--------------------------------------------------------------------------------

Timothy Lottes, NVIDIA
  FXAA, 2009-2011. The console-quality variant, adapted in final.fsh so that
  it explicitly leaves inked pixels alone.

--------------------------------------------------------------------------------
  NOISE AND SAMPLING
--------------------------------------------------------------------------------

Dave Hoskins
  "Hash without Sine", Shadertoy. The integer-mixing hash family in
  common/ib_noise.glsl. sin() does not have identical precision across
  drivers, and noise that changes character between two GPUs is invisible in
  development and disastrous at publication.

Inigo Quilez
  Value noise and fBm construction, and the quintic interpolation curve.

Bryan Vogel
  The Vogel disk / golden-angle spiral used for the shadow filter kernel.

Bayer ordered dithering
  Bryce Bayer, 1973. Present in common/ib_common.glsl, and deliberately
  switched off by default - see the note in composite4.fsh.

--------------------------------------------------------------------------------
  MINECRAFT SHADER PIPELINE
--------------------------------------------------------------------------------

sp614x and the OptiFine project
  For defining the gbuffers / shadow / deferred / composite / final shader
  format that every Minecraft shaderpack, this one included, is written
  against.

The Iris team (coderbot, IMS, and contributors)
  For Iris, which is what actually runs this pack on Minecraft 26.3 and
  26.2, and for
  the documentation of the format's behaviour.

shaderLABS
  For the community documentation of the shader format - in particular the
  exact semantics of depthtex0 vs depthtex1, of buffer flipping between
  composite passes, and of the render target declaration syntax.

Chocapic13
  For the shadow map distortion function that concentrates texels near the
  player. Standardised by his packs and adopted by essentially the whole
  scene since; used in common/ib_space.glsl.

--------------------------------------------------------------------------------
  ANIMATION
--------------------------------------------------------------------------------

The pack's central idea - that a drawing is redrawn on twos while the camera
moves smoothly, and that a hand-inked line boils - is not a computer graphics
technique at all. It is ordinary craft knowledge from traditional animation,
with no single author to credit. Inkboil's contribution is the observation
that what must be cadenced is the RANDOMNESS OF THE GESTURE and never the
position of the line, and the pipeline arrangement that makes that possible:
no projection jitter at all, so the stepped layer never meets a temporal
resolve.

--------------------------------------------------------------------------------
  TOOLS
--------------------------------------------------------------------------------

The verification harness in tools/ uses GLFW and PyOpenGL to create an
offscreen OpenGL context and genuinely compile and LINK every shader pair
across dozens of option combinations.

--------------------------------------------------------------------------------
  AI ASSISTANCE
--------------------------------------------------------------------------------

Inkboil was written with the help of AI (Claude). The artistic direction, the
decisions, the calibration and the final responsibility are Kaelll's.

--------------------------------------------------------------------------------

If you believe a technique of yours is used here and is not credited, that is
an oversight and not an intention: get in touch and it will be fixed.
