godot/drivers
karroffel bb655856e2 using TIME in light shader enables uses_fragment_time
The GLES3 shader compiler performs certain checks to enable or disable
the usage of certain uniform variables (and with that the set-up of UBOs).

If the `TIME` variable gets used inside the `vertex` function then the
renderer knows that it has to insert that value into the UBO.
The same applies to the `fragment` function.

The `light` function gets executed inside the fragment shader for every
light source that is relevant to the current pixel. If the `TIME` variable
gets used in that function then it needs to be present in the fragment-UBO.
The check for this was missing, so if a shader uses `TIME` inside `light`
but not inside `fragment` then the uniform will not actually be set up.
2018-02-07 11:56:52 +01:00
..
alsa Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
convex_decomp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
coreaudio Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
gl_context Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
gles3 using TIME in light shader enables uses_fragment_time 2018-02-07 11:56:52 +01:00
png Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
pulseaudio Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
rtaudio Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
unix Display set_nodelay to GDScript 2018-01-30 13:22:15 -02:00
wasapi Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
windows Add a proper error when safe save fails. 2018-02-02 23:50:41 -03:00
xaudio2 Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
zlib style: Fix PEP8 whitespace issues in Python files 2016-11-01 00:35:16 +01:00
register_driver_types.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
register_driver_types.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
SCsub disable caching for targets using helper functions 2017-11-28 23:24:12 -04:00