PixelEffect

Available since LÖVE 0.8.0
This type is not supported in earlier versions.
Removed in LÖVE 0.9.0
This type is not supported in that and later versions. It is renamed to Shader.

A PixelEffect is used for advanced hardware-accelerated pixel manipulation. These effects are written in a language based on GLSL (OpenGL Shading Language) with a few things simplified for easier coding.

Potential uses for pixel effects include HDR/bloom, motion blur, grayscale/invert/sepia/any kind of color effect, reflection/refraction, distortions, and much more!

Constructors

love.graphics.newPixelEffectCreates a new PixelEffect.Added since 0.8.0 Removed in 0.9.0

Functions

PixelEffect:getWarningsGets warning messages (if any).Added since 0.8.0
PixelEffect:sendSends one or more values to the pixel effect.Added since 0.8.0

Supertypes

See Also

Other Languages

Personal tools