Alex Szpakowski
|
72f98b9c8f
love's overloaded love.graphics.print and love.graphics.printf functions now use proper tail calls, which fixes the filename and backtrace given if those functions cause an error.
|
10 years ago |
Alex Szpakowski
|
c7b45b3505
Updated copyright for the new year
|
10 years ago |
Alex Szpakowski
|
417173b43a
GLSL precision qualifiers (lowp, mediump, highp) can now be used for variables in shader code on desktops without causing a compile error, although they do nothing.
|
11 years ago |
Alex Szpakowski
|
c502847802
Enable strict mode for shaders on some nvidia drivers. Should hopefully prevent some issues where nvidia GLSL compilers let things slide that should be illegal.
|
11 years ago |
Alex Szpakowski
|
1449a81bdf
Removed some dead code.
|
11 years ago |
Alex Szpakowski
|
4d0bbb97d8
Fixed Lua pattern matching for detecting the 'position' and 'effect' shader functions (thanks lpghatguy!)
|
11 years ago |
Alex Szpakowski
|
0372977dfa
Backout changeset 6dd72101871f163ee0e644c751f80773d45f339f
|
11 years ago |
Alex Szpakowski
|
5428a5d75f
Backout changeset b3928e24add23da69dcd90c34985cd6a05454be0
|
11 years ago |
Alex Szpakowski
|
4bc96f1bf6
Internally compose and pass an array of shader source codes to OpenGL, instead of relying on #line to make sure the line number is correct for shader error messages (resolves issue #882)
|
11 years ago |
Bart van Strien
|
9972153696
Use '#line 1' instead of '#line 0' in shader sources, for compatibility with GLES (fixes #882)
|
11 years ago |
Alex Szpakowski
|
f65e9826d9
Disabled shader code for instancing
|
11 years ago |
Alex Szpakowski
|
4faddcd9aa
Fixed some trivial compiler warnings
|
11 years ago |
Alex Szpakowski
|
c5c788e976
Added a built-in variable readable in shaders: ‘love_ScreenSize’. Its x and y components contain the width and height of the current viewport. Resolves issue #841.
|
11 years ago |
Alex Szpakowski
|
73f1ce0d40
Added instancing support to Meshes via Mesh:setInstanceCount. Added a new built-in variable to vertex shaders: int love_InstanceID.
|
11 years ago |
Alex Szpakowski
|
3120a0e650
Goodbye 2013, hello 2014!
|
11 years ago |
Alex Szpakowski
|
aa69a695d3
Canvases can now be used in SpriteBatches, ParticleSystems, and Meshes (resolves issue #782).
|
11 years ago |
Alex Szpakowski
|
d815374a9b
Renamed the 'ModelViewMatrix' and 'ModelViewProjectionMatrix' built-in shader variables to 'TransformMatrix' and 'TransformProjectionMatrix', respectively.
|
12 years ago |
Alex Szpakowski
|
123889dfed
Converted code for Shader:send from Lua to C++
|
12 years ago |
Alex Szpakowski
|
0130b726de
Improved error messages when sending bad values to a shader (also issue #587)
|
12 years ago |
Alex Szpakowski
|
63ac9aa52a
De-obfuscated more shader error message tracebacks
|
12 years ago |
Alex Szpakowski
|
a55c7e871e
fixed canvas:clear() when multi-canvas rendering is active, changed some names and wording
|
12 years ago |
Alex Szpakowski
|
2ea065c68b
Added MRT support to canvases via love.graphics.setCanvases(c1, c2, ...), and an 'effects' callback function in shaders.
|
12 years ago |
Alex Szpakowski
|
9e9eb42f1d
Fixed filedata not being cleaned up when love.image.newImageData(filepath) fails
|
12 years ago |
Alex Szpakowski
|
f3290d84b7
Improved error handling and error messages when love.graphics.newShader fails
|
12 years ago |
Alex Szpakowski
|
991b15d670
More renaming of "fragment" to "pixel"
|
12 years ago |
Alex Szpakowski
|
2d7dd87eb5
Removed PixelEffect compatibility functions (love.graphics.newPixelEffect is now love.graphics.newShader, etc)
|
12 years ago |
Alex Szpakowski
|
3cf03fee8f
Fixed the lua header generator script to output the correct year in the copyright text
|
12 years ago |
Alex Szpakowski
|
96161c66f6
Updated copyright text for the new year
|
12 years ago |
Alexander Szpakowski
|
e24d721381
Renamed all instances of 'ShaderEffect' (previously 'PixelEffect') to 'Shader'.
|
12 years ago |
Alexander Szpakowski
|
69dc6c76e8
Better boolean shader extern support
|
12 years ago |