Alex Szpakowski
|
731b5d5cf0
Added support for GLSL 3 shaders (GLSL 3.30 and GLSL ES 3.00).
|
8 years ago |
Alex Szpakowski
|
c5b7a07064
Merge default into minor.
|
8 years ago |
Alex Szpakowski
|
8899c03651
Add C++ side support for unsigned int shader uniforms. Note that the shader languages love currently supports (glsl 1.20, glsl es 1.00) don’t support uints at the moment.
|
8 years ago |
Alex Szpakowski
|
abb72cb813
Happy new year! 🥂
|
8 years ago |
Alex Szpakowski
|
bdd51d547f
Minor code cleanup
|
8 years ago |
Alex Szpakowski
|
f12596dd19
More code restructuring.
|
8 years ago |
Alex Szpakowski
|
52b7b0f80d
Unify separate GL/GLES code paths for love’s built in matrices in shaders.
|
8 years ago |
Alex Szpakowski
|
80f269d252
Improve performance of Shader:send when the Shader is not active.
|
8 years ago |
Alex Szpakowski
|
0d2e08baff
Implement automatic batching for points, lines, shapes, and images/quads.
|
8 years ago |
Bart van Strien
|
77949030e2
Fix various spelling mistakes (mostly in luasocket)
|
8 years ago |
Alex Szpakowski
|
2a47a8c9e2
Revert most render pass API changes. The APIs need more work and iteration before they’re better to use than the old setCanvas APIs.
|
8 years ago |
Alex Szpakowski
|
0a8c6f3ee6
Cleaned up some love.graphics code.
|
8 years ago |
Bart van Strien
|
24a7a3d367
Merge minor into dynamiccore2
|
8 years ago |
Alex Szpakowski
|
cbba8c40a6
Split Mesh:attachAttribute(name, nil) out into Mesh:detachAttribute. Fix attachAttribute.
|
8 years ago |
Alex Szpakowski
|
100404c917
Revert a dumb change that caused a crash due to reading from invalid memory
|
8 years ago |
Alex Szpakowski
|
82f66e3026
Hopefully fix a couple potential issues with restoring Shader texture units after a setMode.
|
8 years ago |
Alex Szpakowski
|
5e5b247fc7
Work around buggy C++11 standard libraries (mingw)
|
8 years ago |
Alex Szpakowski
|
9d2ee6d909
Shader uniforms keep their values after love.window.setMode (resolves issue #1174).
|
8 years ago |
Alex Szpakowski
|
bed9bc1bae
We don’t need a list of projection matrices..
|
8 years ago |
Alex Szpakowski
|
3e80ec2257
Render pass API. Replaces love.graphics.setCanvas and friends.
|
8 years ago |
Bart van Strien
|
d967a755e5
Make love::Type handle type names
|
8 years ago |
Bart van Strien
|
c761202486
Build type information on first use (load-time), instead of using a hardcoded list
|
8 years ago |
Alex Szpakowski
|
14f1afa446
Reduce redundant glActiveTexture calls.
|
8 years ago |
Alex Szpakowski
|
0653ec9564
Address some compiler warnings about implicit integer conversions.
|
8 years ago |
Alex Szpakowski
|
593f96a08c
Add support for non-square matrix uniforms in desktop GLSL. The notation is columns x rows, e.g. a mat4x2 has 4 columns and 2 rows.
|
9 years ago |
Alex Szpakowski
|
54efa825c3
Merge default into minor
|
9 years ago |
Alex Szpakowski
|
a9c83897bb
Shader:send improvements.
|
9 years ago |
Alex Szpakowski
|
7a904de2e1
In fact, lets just replace Shader:getUniformVariable with Shader:hasUniform. The latter returns true if the uniform with the specified name exists and contributes to the final output of the shader.
|
9 years ago |
Alex Szpakowski
|
ee79038572
Renamed Shader:getExternVariable to Shader:getUniformVariable. The "extern" alias for shader uniforms is considered deprecated, although it still exists.
|
9 years ago |
Alex Szpakowski
|
901cc362df
Added 'shaderswitches' to love.graphics.getStats.
|
9 years ago |