Skip to main content

About Kanikama

Image from Gyazo

Kanikama is a library to update lightmaps at runtime for the Unity Built-in Rendering Pipeline, that works in VRChat.

Requirements

  • Unity 2021
  • Built-in Renering Pipeline

Features

  • Update lightmap colors at runtime by the Precomputed Radiance Transfer1
  • Suported light sources: Light, Emissive Renderer, Montor (Quad texture light)
  • Works with directional lightmaps
  • Directional specular2
  • Specular for texture lights by LTC3
  • Bakery
  • UdonSharp for VRChat

Footnotes

  1. Peter-Pike Sloan, Jan Kautz, and John Snyder. Precomputed Radiance Transfer for RealTime Rendering in Dynamic, Low-Frequency Lighting Environments. ACM Transactions on Graphics, v 21, n 3, 2002, p 527-536.

  2. Shader codes for directional specular in Kanikama is borrowed from Bakery. Thank you Mr F.

  3. Eric Heitz, Jonathan Dupuy, Stephen Hill and David Neubelt. Real-Time Po