• Interactive Poisson Blending on GPU
    Interactive Poisson Blending on GPU
  • 404 Not Found In Two Triangles
    404 Not Found In Two Triangles
  • Simplest and Fastest GLSL Edge Detection using Fwidth
    Simplest and Fastest GLSL Edge Detection using Fwidth

Monthly archives: April, 2017

Dotted Drawing / Sketch Effect

After lunch, I want to replicate the sketch shader I wrote for the Pencil-vs-Camera project. Instead, I wrote a one-pass shader for dotted drawing / sketch post processing effect. I think it’s more beautiful. Demo Click on the embedded ShaderToy window below to play the real-time dotted drawing shader: Press the mouse for a slower but…


Unified Gnomonic and Stereographic Projections

Gnomonic projection, or rectilinear projection, together with stereographic projection, are two most commonly used projection in rendering 360 degree videos, or other VR applications. Recently, I found the inverse converting function from screen coordinates to the two projections can be unified within a single function. It’s not really surprising since both projection uses spherical lens,…