Alex Szpakowski
|
9425c9224b
Rename internal batched draw code to be more clear
|
5 years ago |
Alex Szpakowski
|
694bc9c5b7
rename love_Canvases to love_RenderTargets in shaders.
|
5 years ago |
Alex Szpakowski
|
12c90b3dca
Merge Image and Canvas GL backend classes into new common Texture class.
|
5 years ago |
Alex Szpakowski
|
5f9b5a21d0
Merge default into minor
|
5 years ago |
Alex Szpakowski
|
fc4847c69d
Update copyright for the new year
|
5 years ago |
Alex Szpakowski
|
8512b1a8f6
Remove some dead code.
|
5 years ago |
Alex Szpakowski
|
3435a6bcbf
Change the internal constant color from a (per-draw) vertex attribute to a uniform. Pack most built-in uniforms into a single vec4 array and update them all with a single glUniform call.
|
5 years ago |
Alex Szpakowski
|
0752f27bdf
Update copyright year for 2019
|
6 years ago |
Bart van Strien
|
e80247c191
Happy new year! ✨
|
7 years ago |
Alex Szpakowski
|
7a2e52b12d
Cleaned up some vertex data-related code.
|
7 years ago |
Alex Szpakowski
|
e5b0d96b27
Restructured some Shader code. Added runtime temporary caching and sharing of shader stages. Resolves issue #1235.
|
7 years ago |
Alex Szpakowski
|
a0ef2ac28b
Add Depth compare / shadow sampler support. Officially this is only supported in glsl3 shaders.
|
8 years ago |
Alex Szpakowski
|
73fd45558b
Implement Array, Cubemap, and Volume texture types (issue #1111).
|
8 years ago |
Alex Szpakowski
|
d990044288
love.graphics internal Buffer objects are no longer OpenGL-specific.
|
8 years ago |
Alex Szpakowski
|
731b5d5cf0
Added support for GLSL 3 shaders (GLSL 3.30 and GLSL ES 3.00).
|
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
|
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 |
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
|
9d2ee6d909
Shader uniforms keep their values after love.window.setMode (resolves issue #1174).
|
8 years ago |
Alex Szpakowski
|
3e80ec2257
Render pass API. Replaces love.graphics.setCanvas and friends.
|
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
|
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 |