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 language called GLSL (OpenGL Shading Language) and are used for a variety of nifty eye candies.
+
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.
  
 
Some examples of possible effects include HDR/bloom, motion blur, grayscale/invert/sepia/any kind of color effect, reflection/refraction, distortions, and much more!
 
Some examples of possible effects include HDR/bloom, motion blur, grayscale/invert/sepia/any kind of color effect, reflection/refraction, distortions, and much more!

Revision as of 01:24, 16 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 slightly modified version of 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