Alexander Szpakowski
|
0968fa6f11
More cleanup and some overdone comments
|
12 years ago |
Alexander Szpakowski
|
37191a5953
Minor cleanup
|
12 years ago |
Alexander Szpakowski
|
dcf9825226
Uniform value defines now exist in both the vertex and fragment shaders
|
12 years ago |
Alexander Szpakowski
|
c13b1fb03b
Changed vertex shader callback function name from 'transform' to 'position', added more vertex shader defines (some to make it easier to eventually have a GLES2 backend), hopefully updated Visual Studio project with changed filenames
|
12 years ago |
Alexander Szpakowski
|
15a1fd3552
Re-added "pixeleffect" graphics isSupported string for compatibility
|
12 years ago |
Alexander Szpakowski
|
d62878fbb8
Use GLSL #line preprocessor directive instead of manually trying to convert error message lines; flag shader objects for lazy-deletion after linking with program object instead of detaching them immediately (debuggers can now view source code of shader programs)
|
12 years ago |
Alexander Szpakowski
|
f54c270042
minor cleanup and fixes
|
12 years ago |
Alexander Szpakowski
|
5252ed28cd
changed shadereffect texture image unit counter and map to be non-static, get max texture units from max combined TIUs instead of max fragment shader TIUs, added the current MVP matrix as an argument to the vertex shader transform function, reduced code duplication in ShaderEffect::sendImage and sendCanvas
|
12 years ago |
Alexander Szpakowski
|
0611234067
changed PixelEffect name to ShaderEffect, added lua-side support for vert/frag shader combinations with love.graphics.newShaderEffect, added tentative support for single-file vertex+fragment shaders
|
12 years ago |
vrld
|
e35854acdc
Remove love_ScreenSize from shaders.
|
13 years ago |
vrld
|
87c6646705
Fix #435 (for real this time). Unfixes #324.
|
13 years ago |
vrld
|
6f1ff69b61
Fix issue #435: PixelEffects have flipped screen_coords.y.
|
13 years ago |
vrld
|
85fa71c519
Make love.graphics.getFont() return (and set) default font when no font set.
|
13 years ago |
Bart van Strien
|
7793e7f02f
CRLF to LF
|
13 years ago |
vrld
|
4370f6c9d6
Fix typo in PixelEffect:send() dispatcher when trying to send unsupported type
|
13 years ago |
Bill Meltsner
|
be55579a22
Happy New Year, have an enormous diff
|
13 years ago |
Bart van Strien
|
e37470f54d
No more Font:set(), instead love.graphics.setNewFont
|
13 years ago |
Bart van Strien
|
9682ebecf9
Remove love.graphics.setFont([<file>,] <size>) shorthand, idiom is now love.graphics.newFont([<file>,] <size>):set()
|
13 years ago |
Bart van Strien
|
f9077ee1a6
Store the vera font as file data, instead of doing that every time it is loaded
|
13 years ago |
vrld
|
6b7b68ebd0
Fix issue #314: Can't use #define in shader code.
|
14 years ago |
vrld
|
eec0250545
Fix issue #292: Can't send arrays to pixeleffects.
|
14 years ago |
vrld
|
28b4008797
Rename Framebuffer to Canvas (issue #263). Move error reporting code.
|
14 years ago |
vrld
|
24a52f056b
Add pixel effects (love-glsl)
|
14 years ago |
vrld
|
26277b6450
Transformation tables are unlövely
|
14 years ago |
Bart van Strien
|
9923c02b64
Fix automatic load of default font
|
14 years ago |
vrld
|
6ea187b2f1
Use *ARB versions for VBOs in SpriteBatch. Throw error if SpriteBatch not
|
14 years ago |
vrld
|
dd143c76ac
Add transform tables to SpriteBatch:add() and SpriteBatch:addq().
|
14 years ago |
vrld
|
d420d68048
Add shear transformation and transform object (issue #152).
|
14 years ago |
Bill Meltsner
|
fde708160e
bringing in the new year by changing every 2010 to 2011
|
14 years ago |
Bart van Strien
|
20f5706005
newFont and setFont now have a default size argument once again
|
14 years ago |