summaryrefslogtreecommitdiff
path: root/drivers/gles2/shaders
AgeCommit message (Collapse)Author
2018-11-24Fixed black artifacts on SpatialMaterial [GLES2]David Sichma
2018-11-16Removed unnecesary normal multiplication (only culling was really needed), ↵Juan Linietsky
fixes #17776
2018-11-14Merge pull request #23248 from dlasalle/fogJuan Linietsky
Add parameters for fog end depth and use alpha as density.
2018-11-13Add parameter for fog max depth and use alpha as density.Dominique LaSalle
2018-11-12Merge pull request #22639 from tagcup/optRémi Verschelde
Avoid some unnecessary calculations in scene.glsl.
2018-10-28Fix GLES2 automatic texture lookup in canvasPedro J. Estébanez
After this change the color will only be fetched if the shader code doesn't use it explicitly, to match the GLES3 behaviour. Fixes #23179.
2018-10-25GLES2: Fix shadows shader error for SpotLightsRémi Verschelde
Fixes #23268.
2018-10-24Merge pull request #23186 from BastiaanOlij/fix_gles2_stereo_skyRémi Verschelde
Fixed stereoscopic (VR) sky in GLES2
2018-10-24GLES2: Fix typo in tangent calculationRémi Verschelde
Thanks @tagcup for the find. Fixes #23234.
2018-10-21Fixed stereoscopic (VR) sky in GLES2Bastiaan Olij
2018-10-11Avoid some unnecessary calculations in scene.glsl.Ferenc Arn
2018-10-06Format GLES2 scene.glslLeon Krause
2018-10-06Fix GLES2 uniform precisionLeon Krause
2018-10-03Fix #22591: shader failed to compile when shadow enabled because of ↵Jean-François Michaud
incompatible assignment of vec3 to a vec4.
2018-10-02vertex lit optimization for fog.Juan Linietsky
2018-10-02Implemented FOG support in GLES2.Juan Linietsky
2018-10-02Merge pull request #22627 from akien-mga/gles2-pixel-snapRémi Verschelde
GLES2: Implement pixel snap 2D option
2018-10-02Bring accidentally commented out lines back.Ferenc Arn
Oversight by me in #22483. GLES2 doesn't seem to be supporting anisotropy at the moment anyway ---in case it gets revived.
2018-10-02GLES2: Implement pixel snap 2D optionRémi Verschelde
2018-10-02Merge pull request #22483 from tagcup/fresnelRémi Verschelde
Restore the Fresnel term in the BRDF.
2018-10-02Merge pull request #22562 from muiroc/gles2_canvas_skip_transformRémi Verschelde
Uses skip_vertex_transform in GLES2 canvas shader
2018-10-02Moving lens distortion shader into drivers and adding GLES2 supportBastiaan Olij
2018-10-02Style: Run clang-format on shaders againRémi Verschelde
2018-09-30-Many GLES2 optimizationsJuan Linietsky
-Android export fixes (use ETC if GLES2 backend in use) -revert to thekla atlas because xatlas is not working well
2018-09-30Optimized GGX G function for GLES2.tagcup
Also changed the mapping of anisotropy to match the common definition.
2018-09-30Restore the Fresnel term in the BRDF.Ferenc Arn
Was uncommented in 65fd37c, mostly likely by mistake since its important. Also made a few corrections of specular -> specular_blob_intensity (gles2).
2018-09-30Uses skip_transform in gles2 canvas shadermuiroc
2018-09-30Style: Run clang-format on recent shader changesRémi Verschelde
2018-09-29Some more GLES2 tuning..Juan Linietsky
2018-09-29Many more GLES2 fixesJuan Linietsky
2018-09-29This fixes a bug in refprobe blending, but I have no idea when I fixed it. ↵Juan Linietsky
It just started working all of sudden..
2018-09-29Many fixes to GLES2 renderer, fixed compilation issues in GLES3 shaders.Juan Linietsky
2018-09-28-Lightmap and lightmap capture support for GLES2Juan Linietsky
-Added hint to not show some properties when running on low end gfx
2018-09-28Reflection probe support in GLES2 back-end.Juan Linietsky
2018-09-23Fix build after 65fd37c1, using Math_PIRémi Verschelde
Also fix style in shaders.
2018-09-23-Rewrote GLES2 lighting and shadows and optimized state changes, did many ↵Juan Linietsky
optimizations, added vertex lighting. -Did some fixes to GLES3 too
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-24Fix generation of env map, closes #18880Juan Linietsky
2018-08-24Style: Fix code formatting in GLES2 shadersRémi Verschelde
2018-08-24Merge pull request #21318 from karroffel/gles2-shader-fixesThomas Herzog
[GLES2] attempt to fix some android problems
2018-08-23Merge pull request #21317 from ↵Thomas Herzog
karroffel/gles2-canvas-texture-sampler-long-branch-name [GLES2] fix canvas_item sampler allocation
2018-08-23[GLES2] attempt to fix some android problemsThomas Herzog
2018-08-23[GLES2] fix canvas_item sampler allocationThomas Herzog
2018-08-23enable hardware skeletonsThomas Herzog
2018-08-20Revert "Batch GLES2 draw calls"Marcin Zawiejski
This reverts commit f55039b194bbbd8d797b667d67e5677fb429d356. The GLES2 batching seems to require more testing and tweaking in order to actually make the performance better on Android devices. It's been proved with #21184 that the current implementation has it's drawbacks therefore I suggest reverting the commit for now.
2018-08-18Merge pull request #20965 from dragmz/gles2_batchingThomas Herzog
Batch GLES2 draw calls
2018-08-14Batch GLES2 draw callsMarcin Zawiejski
Adds GLES2 draw calls batching for the same render list item that uses multiple rasterizer commands (e.g. Label node; a node with multiple GDScript draw_* calls).
2018-08-12Fix handling of normals that approach 1Nick Hahn
2018-08-08Merge pull request #20805 from karroffel/gles2-misc-fixesThomas Herzog
unhacking some GLES2 code
2018-08-08GLES2 refactorsThomas Herzog
This commit unhacks some parts of the 3D rendering. Most notably: - possibility to use negative texture units (no longer weird manual index allocation for user samplers) - refactoring of light code, now sorts in a different way, should yield better performance - fixes a crash while saving (because of "Illegal instruction" execution) when using a decent compiler (clang, it's clang. Thanks GCC for not telling me about UB).