summaryrefslogtreecommitdiff
path: root/drivers/gles2/shaders/stdlib.glsl
AgeCommit message (Collapse)Author
2020-08-13Remove obsolete GLES2 backend codeRémi Verschelde
This code currently isn't compiled (and cannot compile). We plan to re-add OpenGL ES-based renderer(s) in Godot 4.0 alongside Vulkan (probably ES 3.0, possibly also a low-end ES 2.0), but the code will be quite different so it's not relevant to keep this old Godot 3.2 code. The `drivers/gles2` code from the `3.2` branch can be used as a reference for a potential new implementation.
2020-07-10Added 'fma' function to shader languageYuri Roubinsky
2019-08-22Implemented inverse shader function to GLES2Yuri Roubinski
2019-08-03Fix GLES2 renderingYuri Roubinski
2019-07-31Expose several GLES3 built-ins to GLES2 Chaosus
2019-07-29added round function to gles2clayjohn
2019-03-11Revert "GLES2: Ensure extension checks for texture2DLod"Rémi Verschelde
This reverts commit f5f565e3e49eecde9ed3b05913747a50d54b7357.
2019-03-11Revert "GLES2: Fix regression on texture2DLod extension checks"Rémi Verschelde
This reverts commit 8c2d38152fbf41ca9c8a8f9b381b8d271f7f54d3.
2019-03-11GLES2: Fix regression on texture2DLod extension checksRémi Verschelde
These can't be done after any non-preprocessor token.
2019-03-11GLES2: Ensure extension checks for texture2DLodRémi Verschelde
In canvas.glsl and scene.glsl, we were using texel2DFetch from stdlib.glsl, which uses texture2DLod. In both cases, the stdlib.glsl include came before the define of texture2DLod. Might fix issues for drivers that don't support GL_EXT_shader_texture_lod.
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-08-24Style: Fix code formatting in GLES2 shadersRémi Verschelde
2018-08-23enable hardware skeletonsThomas Herzog
2018-07-27add initial GLES2 3D rendererkarroffel