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 |
Alexander Szpakowski
|
ca1a9caf91
Added boolean value support to ShaderEffect:send
|
12 years ago |
Alexander Szpakowski
|
3a9659b608
More minor graphics.lua cleanup
|
12 years ago |
Alexander Szpakowski
|
f1e72efd30
Cleaned up graphics.lua script a bit
|
12 years ago |
Alexander Szpakowski
|
609ef2c4e4
Format luaL_error strings properly in ShaderEffect lua wrapper code
|
12 years ago |
Alexander Szpakowski
|
88af7239c3
Removed unnecessary tabs from empty lines
|
12 years ago |
Alexander Szpakowski
|
0968fa6f11
More cleanup and some overdone comments
|
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 |