Alex Szpakowski
|
34688e929e
Merged default into minor
|
11 years ago |
Alex Szpakowski
|
b70f72acb3
Fixed a couple potential memory leaks if love.graphics.newShader causes an error, and cleaned up some shader-related code.
|
11 years ago |
Alex Szpakowski
|
3a51f0ad08
Changed the love.graphics internal code to always use a default shader when none is set externally, and replaced the deprecated OpenGL vertex attribute code with the equivalent generic vertex attribute functions.
|
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 |
Alex Szpakowski
|
f30a0d72f0
Added Shader:getExternVariable(name).
|
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
|
7556fde5e6
Added antialiasing (MSAA) support to Canvases via a new optional parameter. Added Canvas:getFSAA.
|
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 |
vrld
|
3b04eeeec8
Fix #756: Sending an Image to a shader does not retain it
|
11 years ago |
Alex Szpakowski
|
b44c083894
Added Shader:sendInt
|
12 years ago |
Alex Szpakowski
|
0130b726de
Improved error messages when sending bad values to a shader (also issue #587)
|
12 years ago |
Alex Szpakowski
|
1c720afaf8
Cleaned up some shader code internals
|
12 years ago |
Alex Szpakowski
|
cfe6014b68
Improved shader:getWarnings() to return shader compiler warnings as well as shader program linker and usage warnings
|
12 years ago |
Alex Szpakowski
|
07ba81f060
Renamed all cases of "fragment shader" to "pixel shader"
|
12 years ago |
Alex Szpakowski
|
96161c66f6
Updated copyright text for the new year
|
12 years ago |
Alex Szpakowski
|
02d2a872ab
Improved shader member variable names, fixed up XCode project file
|
12 years ago |
Alex Szpakowski
|
5cae5ea37e
Removed code for tesselation and geometry shader detection
|
12 years ago |
Alexander Szpakowski
|
e24d721381
Renamed all instances of 'ShaderEffect' (previously 'PixelEffect') to 'Shader'.
|
12 years ago |