summaryrefslogtreecommitdiff
path: root/servers/visual
AgeCommit message (Collapse)Author
2019-06-01Added constant support to shadersChaosus
Co-authored-by: DavidSichma <sichmada@gmail.com>
2019-05-28Fix some unincialised variablesqarmin
2019-05-24Merge pull request #28796 from clayjohn/GLES2-optimizationRémi Verschelde
GLES2: Allow Viewports to render directly to screen
2019-05-24Merge pull request #28829 from vreon/swizzle-upRémi Verschelde
Allow constructing larger data types by swizzling
2019-05-21Implement shadow to opacityBastiaan Olij
2019-05-19Fix typos with codespellRémi Verschelde
Using codespell 1.15.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear doubleclick leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
2019-05-13Implement ability to render viewports directly to screenclayjohn
2019-05-13Merge pull request #27798 from clayjohn/gles2-proj-mat-bugRémi Verschelde
Fixes bug when setting projection matrix in shader GLES2
2019-05-11Allow constructing larger data types by swizzlingJesse Dubay
GLSL allows the construction of larger data types by swizzling smaller ones, but Godot shading language treated this as an error: vec2 test2 = vec2(0.0, 1.0); vec3 test3 = test2.xxx; // error: Invalid member for vec2 expression This commit updates the expression parser for the 2 and 3-component data types accordingly. Fixes #10496
2019-05-09Change "ID" to lowercase "id"Aaron Franke
Reasoning: ID is not an acronym, it is simply short for identification, so it logically should not be capitalized. But even if it was an acronym, other acronyms in Godot are not capitalized, like p_rid, p_ip, and p_json.
2019-04-30Merge pull request #25670 from aqnuep/bake_mode_affect_gi_proveRémi Verschelde
Disable GI probe capturing lights with bake mode disabled
2019-04-30fixes bug when setting projection matrixclayjohn
2019-04-25Use approximate equallity methods in many placesAaron Franke
2019-04-23Disable GI probe capturing lights with bake mode disabledDaniel Rakos
The bake mode property of lights previously didn't affect GI probes. This change makes the GI probe ignore lights that have their bake mode set to disabled.
2019-04-23Merge pull request #26064 from JFonS/add_frustum_camera_modeHein-Pieter van Braam
Add FRUSTUM camera mode, allowing tilted frustums
2019-04-22Don't try to statically allocate 2x 8193 pointersHein-Pieter van Braam-Stewart
Maximum stack size is only 8KiB, this will try to allocate 8193 * sizeof(void*) * 2 = 131088 bytes on the stack. This causes a crash in some cases.
2019-04-22Merge pull request #27673 from qarmin/small_fixesRémi Verschelde
Small fixes, mostly duplicated code
2019-04-19Merge pull request #28200 from bojidar-bg/28115-ysort-breaks-shaderRémi Verschelde
Fix nested YSort breaking "Use parent material"
2019-04-19Added ability for multiple images to be imported as an atlasJuan Linietsky
This adds support for groups in the import system, which point to a single file. Add property hint for saving files in file field
2019-04-19Fix nested YSort breaking use_parent_materialBojidar Marinov
Fixes #28115
2019-04-09Merge pull request #27843 from bojidar-bg/27678-ysort-visibilityRémi Verschelde
Do not YSort canvas items that are not visible
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-10Added eye_height, changed description and fixed size of viewport issueBastiaan Olij
2019-04-09Do not YSort canvas items that are not visibleBojidar Marinov
Fixes an issue with nested YSorts not regarding visibility
2019-04-08Small fixes, mostly dupicated codeqarmin
2019-04-07Merge pull request #27527 from BastiaanOlij/render_ext_targetRémi Verschelde
Add option to have viewport render into supplied texture (VR)
2019-04-06Merge pull request #25624 from nekomatata/texture-rect-flipRémi Verschelde
Add ability to flip TextureRect horizontally or vertically
2019-04-06Add option to have viewport render into supplied textureBastiaan Olij
2019-04-05Ability to make CanvasLayers have pseudo 3D depth.Juan Linietsky
2019-04-03Add ability to flip TextureRect horizontally or verticallyPouleyKetchoupp
2019-03-05Fix #25641 by not shifting a negative value.marxin
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-03-03Fix style issues from recent commitsRémi Verschelde
2019-03-02Clean up and fix some situations where triangulation may fail, closes #26366Juan Linietsky
2019-03-01Clean up blend shape support in GLES2 and GLES3.Juan Linietsky
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-19Add FRUSTUM camera mode, allowing tilted frustumsJFonS
This new camera mode makes it easy to create tilted frustums for mirror or portal effects. This work was kindly sponsored by IMVU.
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