Difference between revisions of "PixelEffect"

m
m
 
Line 1: Line 1:
{{newin|[[0.8.0]]|080|type=type}}
+
{{newinoldin|[[0.8.0]]|080|[[0.9.0]]|090|type=type|text=It has been renamed to [[Shader]]}}
{{oldin|[[0.9.0]]|090|type=type|text=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.
 
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.
  

Latest revision as of 18:16, 27 December 2015

Available since LÖVE 0.8.0 and removed in LÖVE 0.9.0
It has been 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.newPixelEffect Creates a new PixelEffect. Added since 0.8.0 Removed in 0.9.0

Functions

PixelEffect:getWarnings Gets warning messages (if any). Added since 0.8.0 Removed in 0.9.0
PixelEffect:send Sends one or more values to the pixel effect. Added since 0.8.0 Removed in 0.9.0

Supertypes

See Also

Other Languages