Difference between revisions of "PixelEffect"

(Created page with "{{newin|0.8.0|080|type=type}} A PixelEffect is used for hardware-accelerated pixel manipulation, also known as pixel shading. These effects are written in a language called G...")
 
m
Line 11: Line 11:
 
}}
 
}}
 
== Functions ==
 
== Functions ==
{{#ask: [[Category:Functions]] [[parent::PixelEffect||Object]] [[Since::<080]]
+
{{#ask: [[Category:Functions]] [[parent::PixelEffect||Object]] [[Since::080]]
 
| headers=hide
 
| headers=hide
 
| ?Description
 
| ?Description

Revision as of 23:53, 15 August 2011

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!

Constructors

love.graphics.newPixelEffectCreates a new PixelEffect.

Functions

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

Supertypes

See Also

Other Languages