summaryrefslogtreecommitdiff
path: root/drivers/gles3/rasterizer_scene_gles3.cpp
AgeCommit message (Collapse)Author
2019-05-23fix no depth test and render_priority sortingclayjohn
2019-04-22Merge pull request #27673 from qarmin/small_fixesRémi Verschelde
Small fixes, mostly duplicated code
2019-04-09Style: Apply new changes from clang-format 8.0Rémi Verschelde
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0, so contributors can keep using those versions for now (they will not undo those changes).
2019-04-08Small fixes, mostly dupicated codeqarmin
2019-04-08Merge pull request #26839 from toasteater/fix/keep-linearRémi Verschelde
Respect keep_3d_linear when transparent_bg is on.
2019-04-06Add option to have viewport render into supplied textureBastiaan Olij
2019-04-05Respect keep_3d_linear when transparent_bg is on.toasteater
When transparent_bg is on, or the render target is too small, Godot would skip postprocessing and disregard keep_3d_linear. This fixes #26817.
2019-04-02Enable warnings=extra on clang and GCC testers.marxin
And remove 2 warnings from warnings=extra.
2019-03-26Fixed handling of depth texture so it's resolved and bound when neededDaniel Rakos
- Cleaned up and improved the code determining when we need to use a depth prepass (previously it wasn't executed in certain cases even if it was needed) - Added code to prepare and bind the depth texture even when no depth prepass or MRTs (more precisely effect buffers) are used Fixes #25870, #25535, and #25387.
2019-03-11Undo #25557 (was not right anyway), fixes #26258Juan Linietsky
2019-03-03Also take dof blur in consideration for using MRTs, fixes #26236Juan Linietsky
2019-03-03Properly redraw if something animated is visibleJuan Linietsky
2019-03-03Skeletons can now choose between using local or world coords for processing, ↵Juan Linietsky
fixes #26468
2019-02-26Fix #26100 by casting to integer.marxin
2019-02-22Ensure that no depth test is used (specially in prepass) for objects that ↵Juan Linietsky
dont test or draw depth, fixes #25201
2019-02-21Many fixes regarding depth buffer clearing, closes #25994, closes #25975Juan Linietsky
2019-02-20Add -Wshadow=local to warnings and fix reported issues.marxin
Fixes #25316.
2019-02-13Remove all references to stencil, fixes problems on iOS.Juan Linietsky
2019-02-01Allow usage of depth texture when contact shadows are disabledKaadmY
2019-01-25Do not use depth prepass if effects are disabled, fixes #25267Juan Linietsky
2019-01-26Revert "Fix GLES3 error 502 on iOS"Bastiaan Olij
2019-01-25Ensure contact shadows are only used when lights use them.Juan Linietsky
2019-01-26Fix GLES3 error 502 on iOSBastiaan Olij
2019-01-24Revert "Fix errors on iOS"Juan Linietsky
2019-01-23Fix errors on iOSBastiaan Olij
2019-01-22Changes to GLES2 renderer to not use cube shadows if not available, fixes #25132Juan Linietsky
2019-01-19Fix #19633 by proper store to &ubo_data.shadow_matrix[1234].marxin
It is not valid in C++ to store into shadow_matrix1[16] with shadow_matrix1[16 * j] (for j > 0). Even though there's a valid space in a struct after shadow_matrix1. Knowing that GCC performs aggressive optimizations that eventually lead to a wrong code. Code has been changed into union where one can either use shadow_matrix[4 * 16], or individual shadow_matrix1, shadow_matrix2, etc. GCC pragma is not needed any longer.
2019-01-19Fix excluding GCC pragmas from ClangRémi Verschelde
Why the heck does Clang define __GNUC__...
2019-01-19Only define GCC pragmas for GCCRémi Verschelde
2019-01-18Work around a GCC optimizer bug at -O3Hein-Pieter van Braam
This bug has been reported upstream, once it gets fixed we'll add some version guards to only disable this for specific GCC versions. This fixes #19633
2019-01-04Merge pull request #24568 from Shinryuuji/fix-wrong-texture-array-targetRémi Verschelde
Fix wrong default target for sampler2DArray
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-12-23Fix wrong default target for sampler2DArrayShinryuuji
2018-12-15Adding option to re-orient our skyBastiaan Olij
2018-11-28Added luminance capping to avoid glitches on small dots. closes #17996Juan Linietsky
2018-11-21Clean up code to make intention clear, fixes #20361Juan Linietsky
2018-11-19Don't post process on tiny render targets, fixes #19628Juan Linietsky
2018-11-19Fix crash on canvas with BG_MODE_KEEP, closes #19590Juan Linietsky
2018-11-16Ensure environment radiance is not used on refprobe interiors, fixes #17868Juan Linietsky
2018-11-16Removed unnecesary normal multiplication (only culling was really needed), ↵Juan Linietsky
fixes #17776
2018-11-16Proxies were being mishandled, leading to the now fixed #17651Juan Linietsky
2018-11-14Merge pull request #23248 from dlasalle/fogJuan Linietsky
Add parameters for fog end depth and use alpha as density.
2018-11-13Add parameter for fog max depth and use alpha as density.Dominique LaSalle
2018-10-29Use BufferSubData instead of MapBufferRange in HTML5 platformLeon Krause
WebGL does not support MapBufferRange or UnmapBuffer. Also used in non-ES platforms where an extra-copy is avoided.
2018-10-25Merge pull request #22779 from Superwaitsum/LimitSettingsRémi Verschelde
Limit several project settings
2018-10-24Add some limits on the Editor SettingsSuperwaitsum
2018-10-19Fixing warnings generated by MSVCDualtagh Murray
Fixes #22684.
2018-10-07Baker fixesJuan Linietsky
2018-10-04Fix more "may be used initialized" warnings from GCC 7Rémi Verschelde
Fixes the following GCC 7 warnings: ``` core/cowdata.h:269:47: warning: 'alloc_size' may be used uninitialized in this function [-Wmaybe-uninitialized] core/error_macros.h:163:26: warning: 'nearest_point' may be used uninitialized in this function [-Wmaybe-uninitialized] core/image.cpp:1579:5: warning: 'colormap_size' may be used uninitialized in this function [-Wmaybe-uninitialized] core/image.cpp:1582:12: warning: 'size_height' may be used uninitialized in this function [-Wmaybe-uninitialized] core/image.cpp:1590:23: warning: 'size_width' may be used uninitialized in this function [-Wmaybe-uninitialized] core/image.cpp:1599:29: warning: 'pixel_size' may be used uninitialized in this function [-Wmaybe-uninitialized] core/math/face3.cpp:207:15: warning: 'tri_max' may be used uninitialized in this function [-Wmaybe-uninitialized] core/math/face3.cpp:209:15: warning: 'tri_min' may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/gles3/rasterizer_scene_gles3.cpp:665:22: warning: 'best_used_frame' may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/gles3/rasterizer_storage_gles3.cpp:865:27: warning: 'blit_target' may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/gles3/rasterizer_storage_gles3.cpp:980:29: warning: 'blit_target' may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/gles3/shader_gles3.h:122:9: warning: '<anonymous>.ShaderGLES3::Version::frag_id' may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/gles3/shader_gles3.h:122:9: warning: '<anonymous>.ShaderGLES3::Version::id' may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/gles3/shader_gles3.h:122:9: warning: '<anonymous>.ShaderGLES3::Version::vert_id' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/plugins/script_editor_plugin.cpp:1980:31: warning: 'se' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/scene_tree_dock.cpp:840:30: warning: 'new_node' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/spatial_editor_gizmos.cpp:4259:9: warning: 'a1' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/spatial_editor_gizmos.cpp:4259:9: warning: 'lll' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/spatial_editor_gizmos.cpp:4259:9: warning: 'lul' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/spatial_editor_gizmos.cpp:4260:9: warning: 'a2' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/spatial_editor_gizmos.cpp:4261:9: warning: 'a3' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/spatial_editor_gizmos.cpp:4265:3: warning: 'enable_lin' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/spatial_editor_gizmos.cpp:4294:3: warning: 'enable_ang' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/spatial_editor_gizmos.cpp:4311:34: warning: 'll' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/spatial_editor_gizmos.cpp:4311:34: warning: 'ul' may be used uninitialized in this function [-Wmaybe-uninitialized] scene/3d/voxel_light_baker.cpp:1655:47: warning: 'cone_dirs' may be used uninitialized in this function [-Wmaybe-uninitialized] scene/3d/voxel_light_baker.cpp:1656:73: warning: 'cone_weights' may be used uninitialized in this function [-Wmaybe-uninitialized] scene/gui/texture_progress.cpp:181:6: warning: 'cp' may be used uninitialized in this function [-Wmaybe-uninitialized] scene/gui/texture_progress.cpp:181:6: warning: 'cq' may be used uninitialized in this function [-Wmaybe-uninitialized] servers/physics/shape_sw.cpp:1056:19: warning: 'support_max' may be used uninitialized in this function [-Wmaybe-uninitialized] ```
2018-10-02Merge pull request #21436 from CptPotato/tonemap-fixesRémi Verschelde
tonemapping fixes