summaryrefslogtreecommitdiff
path: root/scene/resources
AgeCommit message (Collapse)Author
2022-09-01Merge pull request #65073 from bruvzg/trim_spacesRémi Verschelde
[TextServer] Add support for trimming edge spaces on line break.
2022-09-01Merge pull request #63751 from clayjohn/physical_light_unitsRémi Verschelde
Implement Physical Light Units in Vulkan Renderers
2022-09-01[TextServer] Add support for trimming edge spaces on line break.bruvzg
2022-08-31Implement Physical Light Units as an optional setting.clayjohn
This allows light sources to be specified in physical light units in addition to the regular energy multiplier. In order to avoid loss of precision at high values, brightness values are premultiplied by an exposure normalization value. In support of Physical Light Units this PR also renames CameraEffects to CameraAttributes.
2022-08-31Fix LinearDepth calculation for GLES3Patrick
This change will calculate the depth ndc differently for GLES3 and Vulkan as described in here: stable: https://docs.godotengine.org/en/stable/tutorials/shaders/advanced_postprocessing.html godot 4 with vulkan: https://docs.godotengine.org/en/latest/tutorials/shaders/advanced_postprocessing.html
2022-08-31Merge pull request #65092 from groud/inherited_scenes_tilesetsRémi Verschelde
2022-08-31Fixes inherited scenes not working in TileSet scenes collection sourcesGilles Roudière
2022-08-30Rename Curve/Curve2D/Curve3D/Gradient `interpolate()` to `sample()`Hugo Locurcio
"sampling" is a more accurate term than "interpolating" for what's happening when using that function.
2022-08-30Merge pull request #65042 from YuriSizov/editor-docks-tabbar-bgRémi Verschelde
2022-08-30Merge pull request #64377 from Mickeon/rename-canvas-redrawRémi Verschelde
Rename `CanvasItem.update()` to `queue_redraw()`
2022-08-30Merge pull request #64410 from MewPurPur/rename-notification-instancedRémi Verschelde
2022-08-30Merge pull request #65066 from aaronfranke/str-path-joinRémi Verschelde
2022-08-29Rename String `plus_file` to `path_join`Aaron Franke
2022-08-29Add background to TabContainer's tabbar and editor docksYuri Sizov
2022-08-29Rename `CanvasItem.update()` to `queue_redraw()`Micky
Affects a lot of classes. Very thoroughly checked signal connections and deferred calls to this method, add_do_method/add_undo_method calls, and so on. Also renames the internal `_update_callback()` to `_redraw_callback()` for consistency. Just a few comments have also been changed to say "redraw". In CPUParticles2D, there was a private variable with the same name. It has been renamed to `do_redraw`.
2022-08-29Improve documentation for BaseMaterial3D's alpha scissor thresholdHugo Locurcio
2022-08-29Merge pull request #64119 from YuriSizov/theme-init-databaseRémi Verschelde
2022-08-29Merge pull request #64980 from TokageItLab/fix-animedit-draw-and-find-keyRémi Verschelde
2022-08-29Improve documentation for `get_animation()`Haoyu Qiu
2022-08-29Fixed AnimationTrackEditor redraw/deselect timing and find key compearationSilc Renew
2022-08-28Merge pull request #64999 from Chaosus/fix_packed_scene_crashRémi Verschelde
2022-08-28Prevent crash at loading some scenesYuri Rubinsky
2022-08-28Make local-to-scene resources behavior consistent in child scenesPedro J. Estébanez
2022-08-28Merge pull request #64526 from Rindbee/improve-packed-scene-instantiateRémi Verschelde
Improve PackedScene instantiate
2022-08-28Improve PackedScene instantiateRindbee
Make `resource_local_to_scene` behave as described in the documentation. (If I understand correctly, the following **instance** refers to **the instance of the sub-scene**.) https://github.com/godotengine/godot/blob/2e24b76535dceb9cf18ab8ece3304ed92948c1b5/doc/classes/Resource.xml#L70-L72 If the resources of the sub-scene are modified in the main scene, the modified resources will be recorded in the `tscn` file of the main scene. And the root node of the sub-scene will be set twice. 1. In the main scene, when encountering a sub-scene, the sub-scene will be initialized first; 2. Then use the resources in the main scene to reset the root node of the sub-scene. This may make `resource_local_to_scene` not work as expected. The resources cannot be shared between the sub-scene root node and other ordinary nodes in the sub-scene. Yes, if the resources have `resource_local_to_scene` enabled, this patch treats the modified resources of the sub-scene root node as resources in the sub-scene, not in the main scene. Although the modifications are recorded in the `tscn` file of the main scene.
2022-08-27Implement custom non-trivial shader functionsPatrick Exner
2022-08-27Add optimization for Animation::ValueTrackSilc Renew
2022-08-27Add linear/cubic angle interpolation to Animation interpolation typeSilc Renew
2022-08-26Merge pull request #64367 from Mickeon/rename-var-to-strRémi Verschelde
Rename `str2var` to `str_to_var` and similar
2022-08-26Add ThemeDB, expose previously static Theme methodsYuri Sizov
2022-08-26Rename `str2var` to `str_to_var` and similarMicky
Affects the Math class, a good chunk of the audio code, and a lot of other miscellaneous classes, too. - `var2str` -> `var_to_str` - `str2var` -> `str_to_var` - `bytes2var` -> `bytes_to_var` - `bytes2var_with_objects` -> `bytes_to_var_with_objects` - `var2bytes` -> `var_to_bytes` - `var2bytes_with_objects` -> `var_to_bytes_with_objects` - `linear2db` -> `linear_to_db` - `db2linear` -> `db_to_linear` - `deg2rad` -> `deg_to_rad` - `rad2deg` -> `rad_to_deg` - `dict2inst` -> `dict_to_inst` - `inst2dict` -> `inst_to_dict`
2022-08-26Merge pull request #64422 from bruvzg/make_fonts_unbearably_ugly_2.0Rémi Verschelde
2022-08-26Merge pull request #64243 from bruvzg/multiline_textmeshRémi Verschelde
2022-08-26Merge pull request #64305 from bruvzg/ts_reset_dataRémi Verschelde
2022-08-26Merge pull request #64879 from TokageItLab/cubic-to-cubicintimeRémi Verschelde
Replace `Cubic` to `CubicInTime` in the animation track interpolation type
2022-08-26Rename ParticlesMaterial to ParticleProcessMaterialMicky
Also affects their file names, related classes and documentation.
2022-08-26Make Cubic to CubicInTime and reduce items in the track intrp typeSilc Renew
2022-08-25Merge pull request #64820 from Chaosus/shader_fix_varyingsRémi Verschelde
2022-08-25Allow using integer varyings with `flat` interpolation modifierYuri Rubinsky
2022-08-25Merge pull request #64801 from clayjohn/plane-quadRémi Verschelde
Remove QuadMesh and add orientation parameter to PlaneMesh
2022-08-24Remove QuadMesh and add orientation parameter to PlaneMeshclayjohn
2022-08-25Fix ParticlesMaterial build after #61238Rémi Verschelde
2022-08-25Merge pull request #61238 from ↵Rémi Verschelde
Calinou/particlesmaterial-add-fade-on-contact-collision-mode Add "Hide on Contact" collision mode to ParticlesMaterial
2022-08-24Extract editor color map and simplify SVG color conversionYuri Sizov
2022-08-24Merge pull request #64009 from KoBeWi/arrayy_lmaoRémi Verschelde
Replace Array return types with TypedArray (part 2)
2022-08-23Replace Array return types with TypedArray 2kobewi
2022-08-23Merge pull request #64647 from TokageItLab/auto-tangentRémi Verschelde
2022-08-23Merge pull request #63854 from TokageItLab/auto-bone-mappingRémi Verschelde
2022-08-23Merge pull request #64640 from aaronfranke/skeleton-cleanupRémi Verschelde
2022-08-23Add bezier preset and refactor bezier editorSilc Renew
Co-authored-by: Razoric480 <razoric480@gmail.com>