summaryrefslogtreecommitdiff
path: root/servers/visual
AgeCommit message (Collapse)Author
2019-02-27Merge pull request #26287 from JFonS/fix_25992Rémi Verschelde
Use item_shadow_mask for LightOccluder2D culling
2019-02-26Ensure implicit conversions for scalar constants work in shaders, closes #26239Juan Linietsky
2019-02-25Use item_shadow_mask for LightOccluder2D cullingJFonS
2019-02-23-Treat scalar conversions when calling functions as error, closes #24261Juan Linietsky
-Make shader editor display errors if exist when just opening it -Make ShaderMaterial not lose parameters if opened in error.
2019-02-23Fix invalid change from CLAMP to MAX in #26099Rémi Verschelde
CLAMP limits the value between the two bounds, so for unsigned ints it should be replaced by MIN(val, max), not MAX. The issue in voxel_light_baker.cpp was fixed in 4f697f7. Fixes #26170.
2019-02-21Fix all -Wtype-limits warnings.marxin
2019-02-20Add -Wshadow=local to warnings and fix reported issues.marxin
Fixes #25316.
2019-02-17Fix update of canvas AABB with update_when_visibleJFonS
Ensure the AABB of canvas items is always updated when `update_when_visible` is enabled.
2019-02-13Fix typos with codespellRémi Verschelde
Using codespell 1.14.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang doubleclick lod nd numer que te unselect EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
2019-02-12Drivers, main, servers: Ensure classes match their header filenameRémi Verschelde
Renamed: - `drivers/alsamidi/alsa_midi.h` -> `midi_driver_alsamidi.h` (same for `coremidi` and `winmidi`) - `main/timer_sync.h` -> `main_timer_sync.h` - `servers/visual/visual_server_global.h` -> `visual_server_globals.h`
2019-02-12Core: Ensure classes match their header filenameRémi Verschelde
Also drop some unused files. Renamed: - `core/dvector.h` -> `pool_vector.h` - `core/io/resource_import.h` -> `resource_importer.h` - `core/sort.h` -> `sort_array.h` - `core/string_db.h` -> `string_name.h` Dropped: - `core/allocators.h` - `core/os/shell.h` - `core/variant_construct_string.cpp`
2019-01-30Fix many asan and ubsan reported issuesHein-Pieter van Braam
This allows most demos to run without any ubsan or asan errors. There are still some things in thirdpart/ and some things in AudioServer that needs a look but this fixes a lot of issues. This should help debug less obvious issues, hopefully. This fixes #25217 and fixes #25218
2019-01-27Merge pull request #25314 from marxin/fix-24417-class-memaccessRémi Verschelde
Fix class memaccess
2019-01-27Properly get proxy texture size for canvas light, fixes #17067Juan Linietsky
2019-01-26Add a check to help find transforms that are passes invalid.Juan Linietsky
2019-01-25Use placement new in visual_server_scene.cpp (#24417).marxin
2019-01-22Changes to GLES2 renderer to not use cube shadows if not available, fixes #25132Juan Linietsky
2019-01-21Cleanup after @reduz :)Rémi Verschelde
Fixes #25172.
2019-01-17Fixes to 2D lights, closes #24750Juan Linietsky
2019-01-09Fix a nested ysort invalid memory read againBojidar Marinov
Fixes #24755
2019-01-04Merge pull request #24539 from BastiaanOlij/override_gl_positionRémi Verschelde
Override GL_position
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-12-30Always treat exponent as floatBastiaan Olij
2018-12-29Override GL_positionBastiaan Olij
2018-12-15Adding option to re-orient our skyBastiaan Olij
2018-12-12Merge pull request #23469 from clayjohn/fragment_camera_matrixRémi Verschelde
Added CAMERA_MATRIX to fragment shader
2018-12-11Merge pull request #23483 from clayjohn/fragment_camera_viewRémi Verschelde
Make VIEW vector available in fragment shader
2018-12-11make VIEW vector available in fragmentclayjohn
2018-12-11Merge pull request #24163 from clayjohn/light_uv_constRémi Verschelde
Make LIGHT_UV constant in canvas_item light shader
2018-12-04Fix error when adding children to YSortBojidar Marinov
If it weren't for this warning, it would have crashed in release builds. Fix #23889, fixup 6b8d6e3b07c83da1c365f9ad79e84e5147ec26f7
2018-12-04make LIGHT_UV constantclayjohn
2018-11-28Added luminance capping to avoid glitches on small dots. closes #17996Juan Linietsky
2018-11-24Allow *= operator between vec and mat types in shadersKanabenki
2018-11-21Removed noperspective (not in GLSL ES 3.0), do not write smooth if not ↵Juan Linietsky
specified. Fixes #20435
2018-11-21Merge pull request #23878 from bojidar-bg/23775-ysort-crashRémi Verschelde
Fix YSort crash when removing a child
2018-11-21Fix YSort crash when removing a childBojidar Marinov
Fixup of 8e4837f35778e917370e802c167ce1fbd07b068c Fixes #23775
2018-11-19Do not draw particles if they are not processing at all, fixes #19507Juan Linietsky
2018-11-16Use hint_color when getting shader default paramsJFonS
2018-11-14Proper validation of out arguments in built-in shader functions, closes #16244Juan Linietsky
2018-11-14Merge pull request #23248 from dlasalle/fogJuan Linietsky
Add parameters for fog end depth and use alpha as density.
2018-11-14Cleaned up and fixed the base_changed function in rasterizers, also fixes #15617Juan Linietsky
2018-11-13Add parameter for fog max depth and use alpha as density.Dominique LaSalle
2018-11-12Merge pull request #23407 from bojidar-bg/3281-ysort-recursiveRémi Verschelde
Y-Sort children together in nested YSorts
2018-11-12Do not allow samplers where they dont belong (variables/return types), fixes ↵Juan Linietsky
#15133
2018-11-08Effectively ensure that surface materials are the right size when setting ↵Juan Linietsky
them, fixes #23596
2018-11-04Remove animation loop from ParticlesMaterial + improvements to CPUParticles2DJFonS
Remove animation loop from ParticlesMaterial and move it to SpatialMaterial for 3D particles and Particles2D for the 2D case. Added animation to CPUParticles2D as well as the "Convert to CPUParticles2D" to the PAarticles2D menu.
2018-11-02added CAMERA_MATRIX to fragment shaderclayjohn
2018-10-30Fix canvas stacking not deterministic on same layerPedro J. Estébanez
Fixes #22687.
2018-10-30Y-Sort children together in nested YSortsBojidar Marinov
Closes #3281
2018-10-25fixed uninitialized variables and false positives found by CppCheckSimon Wenner