Files
love/src/modules
Alex Szpakowski ff8358a979 Removed void effects(…) pixel shader prototype. Added void effect(). Allows calling love.graphics.draw with textures of different types with a custom shader without having an extra sampler2D.
effect() takes no arguments and returns nothing, you are responsible for assigning a value to either love_PixelColor or love_Canvases[n] in the function. You can declare ‘MainTex’, which will be whatever texture is used with any Drawable drawn with love.graphics.draw. You can also declare ‘VaryingColor’ and ‘VaryingTexCoord’, which are passed down from the vertex shader by love automatically. love_PixelCoord is also available.

--HG--
branch : minor
2017-02-25 17:52:27 -04:00
..
2017-02-11 21:41:22 +01:00
2017-01-02 01:28:29 -04:00
2017-01-02 01:28:29 -04:00
2017-01-02 01:28:29 -04:00
2017-01-02 01:28:29 -04:00
2017-01-02 01:28:29 -04:00
2017-01-12 22:52:24 -04:00
2017-01-21 12:06:35 -04:00
2017-02-11 21:41:22 +01:00
2017-01-02 01:28:29 -04:00
2017-01-02 01:28:29 -04:00
2017-01-02 01:28:29 -04:00