summaryrefslogtreecommitdiff
path: root/drivers/gles3/shaders/canvas.glsl
AgeCommit message (Collapse)Author
2018-12-13fixed uv missing in vertex shader of canvas.QbieShay
2018-11-28Fix style issues and signature mismatchRémi Verschelde
2018-11-27NORMALMAP was not working (no normal being used detected), fixes #9263Juan Linietsky
2018-11-13Make 2D particles work OOTB (again)JFonS
2018-11-04Remove animation loop from ParticlesMaterial + improvements to CPUParticles2DJFonS
Remove animation loop from ParticlesMaterial and move it to SpatialMaterial for 3D particles and Particles2D for the 2D case. Added animation to CPUParticles2D as well as the "Convert to CPUParticles2D" to the PAarticles2D menu.
2018-10-02GLES2: Implement pixel snap 2D optionRémi Verschelde
2018-09-18Fix lighting of rotated particles in 2DJFonS
Custom instance transform was not taken into account for normal map calculation. Also renamed `extra_matrix2` to `extra_matrix_instance` for more clarity.
2018-08-27Style: Enable clang-format on GLSL shadersRémi Verschelde
As of clang-format 6.0.1, putting the `/* clang-format off */` hint around our "invalid" `[vertex]` and `[shader]` statements isn't enough to prevent a bogus indent of the next comments and first valid statement, so we need to enclose that first valid statement in the unformatted chunk.
2018-08-24Style: Fix code formatting in GLES3 shadersRémi Verschelde
2018-07-05Move light 2D rotation to vertex shaderJFonS
2018-07-04Fix regression of 2D light heightJFonS
2018-06-19Fix rotation of 2D lightsJFonS
2018-05-04Skeletal deform workingJuan Linietsky
2018-05-03Skeleton for 2D WIPJuan Linietsky
2018-04-13Fixes canvas light shaders.Pieter-Jan Briers
Fixes #16904 Restore more out functionality, fix built-ins. Requested changes, I think?
2018-01-12Set correct types on a couple variables inside the canvas.glslMrCdK
2018-01-02Some fixes to improve precision and speed on Android. Fixes precision issues ↵Juan Linietsky
on Mali and PowerVR.
2017-12-19Fix pixel snap not being used in 3.0Guilherme Silva
2017-11-12remove half_texpixel in canvas since no longer usedJuan Linietsky
2017-11-11Fixed a bug where clamp_uv was clamping one pixel short, stretching the last ↵Nathan Warden
pixels.
2017-09-29Ability to set a custom FOV makes it possible to use sky on orthogonal view. ↵Juan Linietsky
Closes #9186
2017-09-06Fix frame selection in 2D particles, closes #10668Juan Linietsky
2017-09-04Don't compare float to intHenrik Andersson
2017-09-01add shadow_filter variant PCF7letheed
2017-08-31Merge pull request #10417 from bojidar-bg/x-fix-tilemap-transposeRémi Verschelde
Implement texture UV transpose in the gles3 renderer
2017-08-29Implement texture UV transpose in the gles3 rendererBojidar Marinov
Now tilemap rotations work again \o/
2017-08-25fix shadow filter pcf5 implemented as pcf7letheed
2017-08-11Some fixes for shaders and WebGL2Fabio Alessandrelli
Add padding to UBO data to be multiple of 16 bytes Add precision definition for samplers Replace texture2D (deprecated) with texture in shaders
2017-06-28Fixed NinePatches not working on HTML5Robert Hernandez
2017-06-26-Fixed SCREEN_TEXTURE and other related 2D shader parameters.Juan Linietsky
-Fixded BackBuffercopy object
2017-06-21-Moved NinePatch to shader, saves a ton of draw calls rendering UIJuan Linietsky
-Implemented missing stretch modes, now tile and tile fit work
2017-06-212D GPU Particles working..Juan Linietsky
2017-06-18Texture rect_region drawing now clamps UV to avoid bleeding. This avoids ↵Juan Linietsky
scenarios like single-texture tilemap tiles leaking pixels to the next tile when filter is enabled on it.
2017-06-17Add normalmap support for drawing in all low level primitives. Only added ↵Juan Linietsky
support in Sprite so far.
2017-06-16TIME constant reverted to a single float, fixes #9123Juan Linietsky
2017-06-14Merge pull request #9109 from RandomShaper/optimize-2d-lightingJuan Linietsky
Add AT_LIGHT_PASS builtin to canvas shaders
2017-06-15Add AT_LIGHT_PASS builtin to canvas shadersPedro J. Estébanez
This one allows for complex shaders paired with a simple lighting shader to skip code that would otherwise be pointlessly (and wastefully) run during the light pass. Depending on your game (number of items and lights), this can yield some performance gain.
2017-06-13-Fixed occluder rendering, closes #8560Juan Linietsky
-Ability to smooth out 2D shadow filters
2017-06-01Rework shading modes and change location of light shaderJuan Linietsky
2017-01-14Style: Fix whole-line commented codeRémi Verschelde
They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
2016-10-102D Shaders are working again using the new syntax, though all is buggy in ↵Juan Linietsky
general
2016-10-03Begining of GLES3 renderer:Juan Linietsky
-Most 2D drawing is implemented -Missing shaders -Missing all 3D -Editor needs to be set on update always to be used, otherwise it does not refresh -Large parts of editor not working