mwdchang / polaroids

Polaroid collage generator

Home Page:https://mwdchang.github.io/polaroids/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Polaroids

Simulates a collage of polaroid pictures.

alt text

Pipeline

The pipeline is split into multiple stages:

  • Image file is loaded and cached as a regular texture object.
  • The masking shader renders the meta information about polaroids and their placements into a frame buffer texture object.
  • Create a simple quad as a place holder and pass in both textures from before as uniform vars. At this stage the polaroid shader will figure out how to utilize the image texture based on the masking texture.

About

Polaroid collage generator

https://mwdchang.github.io/polaroids/


Languages

Language:JavaScript 70.9%Language:HTML 29.1%