godot/drivers/gles2/shaders
santouits 3c1cd2873b WebGL1 some changes
glRenderBufferStorage doesn't accept the _DEPTH_COMPONENT24_OES so I changed it to GL_DEPTH_COMPONENT16
https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/renderbufferStorage
https://www.khronos.org/registry/webgl/extensions/rejected/OES_depth24/

Enabled ext_shader_texture_lod extension. I guess it does the same like the GL_ARB_shader_texture_lod extension, but in WebGL1
https://www.khronos.org/registry/webgl/extensions/EXT_shader_texture_lod/

And last WebGL1 doesn't allow indexes not constant, so I changed it into a loop reading this:
https://stackoverflow.com/questions/19529690/index-expression-must-be-constant-webgl-glsl-error
2019-01-22 13:40:28 +02:00
..
blend_shape.glsl Style: Enable clang-format on GLSL shaders 2018-08-27 07:34:14 +02:00
canvas.glsl webgl1 doesn't like backslashes in #define 2019-01-21 21:41:39 +02:00
canvas_shadow.glsl GLES2: Define 'lowp' for OpenGL 2.1 2018-12-21 15:14:58 +01:00
copy.glsl GLES2: Define 'lowp' for OpenGL 2.1 2018-12-21 15:14:58 +01:00
cube_to_dp.glsl GLES2: Define 'lowp' for OpenGL 2.1 2018-12-21 15:14:58 +01:00
cubemap_filter.glsl WebGL1 some changes 2019-01-22 13:40:28 +02:00
effect_blur.glsl Style: Enable clang-format on GLSL shaders 2018-08-27 07:34:14 +02:00
exposure.glsl Style: Enable clang-format on GLSL shaders 2018-08-27 07:34:14 +02:00
lens_distorted.glsl GLES2: Define 'lowp' for OpenGL 2.1 2018-12-21 15:14:58 +01:00
particles.glsl Style: Enable clang-format on GLSL shaders 2018-08-27 07:34:14 +02:00
resolve.glsl Style: Enable clang-format on GLSL shaders 2018-08-27 07:34:14 +02:00
scene.glsl Merge pull request #24539 from BastiaanOlij/override_gl_position 2019-01-04 15:40:05 +01:00
screen_space_reflection.glsl Style: Enable clang-format on GLSL shaders 2018-08-27 07:34:14 +02:00
SCsub Support lights and shadows in GLES2, fixes #21853 2018-12-20 10:10:30 -03:00
ssao.glsl Style: Enable clang-format on GLSL shaders 2018-08-27 07:34:14 +02:00
ssao_blur.glsl Style: Enable clang-format on GLSL shaders 2018-08-27 07:34:14 +02:00
ssao_minify.glsl Style: Enable clang-format on GLSL shaders 2018-08-27 07:34:14 +02:00
stdlib.glsl Style: Run clang-format on shaders again 2018-10-02 08:34:08 +02:00
subsurf_scattering.glsl Style: Enable clang-format on GLSL shaders 2018-08-27 07:34:14 +02:00
tonemap.glsl Style: Enable clang-format on GLSL shaders 2018-08-27 07:34:14 +02:00