davepagurek / glsl-autodiff

Tired of doing math to get normals in your vertex shader? Same.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Human-readable output mode

davepagurek opened this issue · comments

  • Add a config to turn off optimization (use more temporary variables)
  • Add a config to add comments to temporary variables with extra context
  • Nice to have: better temporary variable names
  • Reference line numbers in JS source (e.g. using https://stackoverflow.com/a/2343382)