Difference between revisions of "PixelEffect"

m
m
Line 1: Line 1:
 
{{newin|[[0.8.0]]|080|type=type}}
 
{{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 slightly modified version of GLSL (OpenGL Shading Language) and are used for a variety of nifty eye candies.
+
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.
  
Some examples of possible effects include HDR/bloom, motion blur, grayscale/invert/sepia/any kind of color effect, reflection/refraction, distortions, and much more!
+
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 ==
 
== Constructors ==

Revision as of 02:23, 16 August 2011

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

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.

Functions

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

Supertypes

See Also

Other Languages