summaryrefslogtreecommitdiff
path: root/drivers/gles2/shaders
AgeCommit message (Collapse)Author
2018-12-29Override GL_positionBastiaan Olij
2018-12-21GLES2: Define 'lowp' for OpenGL 2.1Rémi Verschelde
Precision qualifiers are only used on OpenGL ES 2.0 and 3.0, and while OpenGL 3.3 defines them for compatibility (but without practical effect), they're missing from OpenGL 2.1, so we define them to prevent compilation errors. Fixes #24521.
2018-12-20Support lights and shadows in GLES2, fixes #21853Juan Linietsky
2018-12-20Style: Fix formatting in GLES2 shadersRémi Verschelde
2018-12-20fix gles2 spotlight problemGitea
2018-12-19Properly support light shaders in GLES2, fixes #21651Juan Linietsky
2018-12-18Change how rects are drawn (and also will help batching eventually), to ↵Juan Linietsky
workaround problem in #9913
2018-12-16Merge pull request #24366 from BastiaanOlij/adjust_sky_orientationRémi Verschelde
Adding option to re-orient our sky
2018-12-16Fix highp issue in lens shader on gles2Bastiaan Olij
2018-12-15Adding option to re-orient our skyBastiaan Olij
2018-12-11Merge pull request #23483 from clayjohn/fragment_camera_viewRémi Verschelde
Make VIEW vector available in fragment shader
2018-12-11make VIEW vector available in fragmentclayjohn
2018-12-11gles2 implemented VIEWPORT_SIZE builtin for spatial shadermuiroc
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.