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 |
Alex Szpakowski
|
aa88383793
Fixed per-vertex colors (e.g. spritebatch colors) improperly applying gamma correction when the default shader is used and gamma correction is requested but not supported on OpenGL ES.
|
9 years ago |
Alex Szpakowski
|
46a2e7b85c
Happy new year! 🎉
|
9 years ago |
Alex Szpakowski
|
67fe29b30e
More accurate comment.
|
9 years ago |
Alex Szpakowski
|
c751e4881a
Possibly fixed everything showing up as black on some Android devices.
|
9 years ago |
Bart van Strien
|
22f2175bec
Add initial video playback support for Ogg Theora videos (resolves issue #66.)
|
9 years ago |
Alex Szpakowski
|
1e8786879b
Re-added the built-in NormalMatrix uniform 3x3 matrix variable to shaders.
|
10 years ago |
Alex Szpakowski
|
d8fd1413d6
Renamed the internal 'Matrix' class to 'Matrix4'.
|
10 years ago |
Alex Szpakowski
|
247daa85b5
Added a couple comments documenting why some codepaths have been chosen.
|
10 years ago |
Alex Szpakowski
|
4c571e8fd7
Prevent redundant shader uniform uploads for built-in uniforms when OpenGL ES 2 is used.
|
10 years ago |
Alex Szpakowski
|
c82ccbb89b
love.graphics.setColor no longer uses the main per-vertex color attribute. This lets it affect the color of ParticleSystems, and SpriteBatches and Meshes even when they use custom per-vertex colors.
|
10 years ago |
Alex Szpakowski
|
2844499ef7
Added the ability to have custom vertex attributes in Meshes (resolves issue #768.)
|
10 years ago |
Alex Szpakowski
|
a36dbc3d49
Only update the shader point size in OpenGL ES 2 when it's been modified, rather than before every draw.
|
10 years ago |
Alex Szpakowski
|
06ef263537
Added OpenGL debug groups for most graphics operations when love is built in debug mode for iOS. The Xcode frame capture tool uses them to create nice visual groups for OpenGL function calls.
|
10 years ago |
Alex Szpakowski
|
4dc73959a6
Hopefully fixed a major bug related to using Shader:send with textures.
|
10 years ago |
Alex Szpakowski
|
06fa7bd7a4
Don't enable SDL_GL_FRAMEBUFFER_SRGB_CAPABLE in Linux when creating the window, to work around a potential bug. sRGB windows are still possible even without that.
|
10 years ago |
Alex Szpakowski
|
d7667ea8fc
Updated changelog.
|
10 years ago |
Alex Szpakowski
|
3fea174008
Cleaned up some shader code.
|
10 years ago |
Alex Szpakowski
|
3830a0969c
Moved the Texture and Quad Lua wrapper files out of the opengl graphics implementation folder.
|
10 years ago |
Alex Szpakowski
|
ebc68023a7
Fix many warnings about implicit integer conversions when compiling for 64 bits.
|
10 years ago |
Alex Szpakowski
|
5b98083e01
Merged default into minor
|
10 years ago |
Alex Szpakowski
|
5c46149afb
Properly set shader dirty flags for love_ScreenSize when love.window.setMode is called.
|
10 years ago |
Alex Szpakowski
|
5df56d041a
Added GLSL ES 1.00 (OpenGL ES 2) shader support.
|
10 years ago |