Available since LÖVE 0.8.0
This type is not supported in earlier versions.

A PixelEffect is used for hardware-accelerated pixel manipulation, also known as pixel shading. These effects are written in a language called GLSL (OpenGL Shading Language) and are used for a variety of nifty eye candies.

Some examples of possible effects include HDR/bloom, motion blur, grayscale/invert/sepia/any kind of color effect, reflection/refraction, distortions, and much more!


love.graphics.newPixelEffectCreates a new PixelEffect.


Object:typeGets the type of the object as a string.
Object:typeOfChecks whether an object is of a certain type.
PixelEffect:getWarningsGets warning messages (if any).
PixelEffect:sendSends one or more values to the pixel effect.


See Also

Other Languages