summaryrefslogtreecommitdiff
path: root/drivers/gles3
AgeCommit message (Collapse)Author
2019-09-19Merge pull request #32004 from raphael10241024/fix_shader_uniformRémi Verschelde
Fix gles3 shader uniform vec3 error
2019-09-19Merge pull request #31202 from azagaya/light-dataRémi Verschelde
Create shadow_vec for altering shadow computation
2019-09-14Implement shader array support for varyingsChaosus
2019-09-06Create shadow_vec for altering shadow computationazagaya
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-06fix gles3 shader uniform vec3 error, close #30930RaphaelHunter
2019-08-29Removed clamping of the Linear tonemapping when KEEP_3D_LINEARHolger Dammertz
Changed the behaviour of the Linear tonemapping operator to not clamp to [0, 1] range in the case when KEEP_3D_LINEAR is defined. This allows to render values > 1.0 in floating point texture targets (via Viewport) for further processing or saving high dynamic range data into files. This only works when no color conversion is active.
2019-08-25Fix hint range step for integer in shadersYuri Roubinski
2019-08-23Implements switch to shadersYuri Roubinski
2019-08-20Merge pull request #31419 from NeoSpark314/fix_oculusquest_panoramaRémi Verschelde
changed the constant scale of cube_normal to -1.0 instead of -1000000…
2019-08-19Fix ternary operator shader compiler expressionYuri Roubinski
2019-08-17changed the constant scale of cube_normal to -1.0 instead of -1000000.0; ↵Holger Dammertz
this fixes a rendering issue on oculus quest and does not change the computation as the vector is normalized afterwards. Adapted the comment above the code to reflect the change made as it already mentioned that z could be set to 1.
2019-08-17Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in 'core/' and 'editor/'Braden Bodily
Condensed some if and ERR statements. Added dots to end of error messages Couldn't figure out EXPLAINC. These files gave me trouble: core/error_macros.h, core/io/file_access_buffered_fa.h (where is it?), core/os/memory.cpp, drivers/png/png_driver_common.cpp, drivers/xaudio2/audio_driver_xaudio2.cpp (where is it?)
2019-08-16Merge pull request #31309 from raphael10241024/fix_dofRémi Verschelde
DOF can effect transparent objects now,
2019-08-14Merge pull request #31266 from ↵Rémi Verschelde
IAmActuallyCthulhu/pr/remove-redundant-author-comments Remove redundant author doc comments
2019-08-13Implemented do/while loops for shadersYuri Roubinski
2019-08-12Remove redundant author doc commentsIAmActuallyCthulhu
2019-08-12DOF can effect transparent objects now, close #28240RaphaelHunter
2019-08-12Merge pull request #31270 from nekomatata/fix-vertex-color-init-gles3Rémi Verschelde
Fixed vertex color initialization with default value in GLES3
2019-08-11Fixed vertex color initialization with default value in gles3PouleyKetchoupp
Fixes #30275, #31250
2019-08-08Merge pull request #30714 from Calinou/invert-default-fog-heightRémi Verschelde
Invert and adjust the default fog height values
2019-08-07Invert and adjust the default fog height valuesHugo Locurcio
This makes height fog appear at the bottom of the scene (instead of the top), which is generally the expected result. This also tweaks the fog height setting hint to be more flexible. This closes #30709.
2019-08-07Merge pull request #31099 from Chaosus/shader_local_constRémi Verschelde
Implemented local shader constants
2019-08-07Add some code changes/fixes proposed by Coverity and Clang Tidyqarmin
2019-08-05Implemented local shader constantsYuri Roubinski
2019-07-31Merge pull request #30977 from clayjohn/GLES3-screen-uvRémi Verschelde
Properly pass SCREEN_PIXEL_SIZE to canvas light shader
2019-07-30properly pass SCREEN_PIEXEL_SIZE to canvas light shaderclayjohn
2019-07-29Merge pull request #30898 from clayjohn/max-lights-reflectionsRémi Verschelde
Add project setting for max lights and reflections in GLES3
2019-07-28add project setting for max lights and reflections in gles3clayjohn
2019-07-28update algorithm about paking float to vec4 to fix shadow shift and change ↵RaphaelHunter
rgba_shdow options
2019-07-23Merge pull request #30764 from clayjohn/contact-shadowRémi Verschelde
Fix contact shadows appearing when shading casting is off
2019-07-22fix contact shadows appearing when shading casting is offclayjohn
2019-07-21Disable high-quality voxel cone tracing by defaultHugo Locurcio
This makes GIProbe significantly faster out of the box, at the cost of worse-looking GIProbe reflections. This closes #30727.
2019-07-20Merge pull request #30576 from qarmin/lgtm_coverageRémi Verschelde
Changed some code reported by LGTM and Coverity
2019-07-20Changed some code showed in LGTM and Coverageqarmin
2019-07-16Added local array initializerChaosus
2019-07-15Implemented local shader arraysChaosus
2019-07-10Fix get_data layer argument when texture is TEXTURE_TYPE_2D_ARRAYszamq
2019-07-08Merge pull request #30407 from qarmin/small_fixessRémi Verschelde
Fixes minor issues found by static analyzer
2019-07-07Fixes minor issues found by static analyzerqarmin
2019-07-06Added release function to PoolVector::Access.Ibrahn Sahir
For clarity, assign-to-release idiom for PoolVector::Read/Write replaced with a function call. Existing uses replaced (or removed if already handled by scope)
2019-07-02Fix various memory leaks and errorsBojidar Marinov
2019-07-01Merge pull request #29980 from Dentrax/directed-by-qarminRémi Verschelde
Fix some editor crashes
2019-07-01fix some crashesFurkan Türkal
2019-06-27Merge pull request #29941 from qarmin/redundant_code_and_othersRémi Verschelde
Remove redundant code, possible NULL pointers and others
2019-06-26Some code changed with Clang-Tidyqarmin
2019-06-24Merge pull request #29974 from clayjohn/particles_restartRémi Verschelde
Properly set emitting when particles restart
2019-06-21properly set emitting when particles restartclayjohn
2019-06-20Merge pull request #29283 from qarmin/fix_some_always_same_valuesRémi Verschelde
Remove always true/false values
2019-06-20Fix always true/false valuesqarmin
2019-06-19Made constants fully upper case in camera serverBastiaan Olij