virtualx-engine/drivers/gles3/shaders
azagaya b835868067 Create shadow_vec for altering shadow computation
In 2.1 and 3.0, light_vec could be modified for altering shadow_computations.
But it broke shadows when rotating light. shadow_vec would do the same, but without breaking
shadows in rotated lights if not used.

Add inverse light transformation to shadow vec, so it's not affected when rotating lights;

Added usage define for shadow vec.

For shadow vec working properly when rotating a light, it's needed to multiply it by light_matrix normalized. Added usage define in order to don't do that if shadow_vec not used.
2019-09-06 13:55:49 -03:00
..
blend_shape.glsl Style: Enable clang-format on GLSL shaders 2018-08-27 07:34:14 +02:00
canvas.glsl Create shadow_vec for altering shadow computation 2019-09-06 13:55:49 -03:00
canvas_shadow.glsl update algorithm about paking float to vec4 to fix shadow shift and change rgba_shdow options 2019-07-28 11:43:01 +08:00
copy.glsl Adding a new Camera Server implementation to Godot. 2019-06-15 21:30:32 +10:00
cube_to_dp.glsl Style: Enable clang-format on GLSL shaders 2018-08-27 07:34:14 +02:00
cubemap_filter.glsl fix radiance map settings 2019-05-25 18:57:32 -07:00
effect_blur.glsl fixed bug in mip map sigma 2019-04-12 17:48:38 -07:00
exposure.glsl Style: Enable clang-format on GLSL shaders 2018-08-27 07:34:14 +02:00
lens_distorted.glsl Moving lens distortion shader into drivers and adding GLES2 support 2018-10-02 17:14:43 +10: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 #29031 from BastiaanOlij/alpha_shadow 2019-05-23 13:37:54 +02:00
screen_space_reflection.glsl Explicitly use floating point numbers in the our shaders 2019-02-24 23:35:10 +00:00
SCsub Moving lens distortion shader into drivers and adding GLES2 support 2018-10-02 17:14:43 +10:00
ssao.glsl Improve SSAO performance and quality 2019-05-26 12:01:01 +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
subsurf_scattering.glsl Style: Enable clang-format on GLSL shaders 2018-08-27 07:34:14 +02:00
tonemap.glsl Fix typos with codespell 2019-02-13 09:23:29 +01:00