• First part - 4 Shades of Grey
  • Script creation
  • Registering a first source info structure
  • Effect compilation and rendering
  • Simple HLSL luminance effect file
  • Gamma correction
  • Width and height from Lua to the shader
  • Luminance perturbation
  • Reducing the number of colors
  • Adding properties
  • Second part - Dithering with texture
  • Some colors please
  • Re-factoring the pixel shader
  • Adding the texture properties
  • Bitmap-based dithering with seamless patterns
  • Creating seamless patterns
  • Arbitrary palette
  • Transparency
  • Using an animated GIF
  • Re-organizing the properties
  • Single file delivery
  • Conclusion