Skip to content

A tiny helper library for löve that helps you use multiple post processing shaders.

Notifications You must be signed in to change notification settings

veethree/pp.lua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pp.lua

A tiny helper library for löve that helps you use multiple post processing shaders.

Usage:

Load it

pp = require("pp")

Create a new pp canvas

canvas = pp.new(width, height)

Draw something to it:

canvas:drawTo(function() 
  --draw stuff 
end)

Draw the pp canvas with shaders

canvas:draw(shader1, shader2, ...)

The shaders will be applied in the order of the arguments.

Demo gif

Photo in the demo by Greg Galas from Pexels

About

A tiny helper library for löve that helps you use multiple post processing shaders.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages