summaryrefslogtreecommitdiffstats
path: root/editor/plugins/material_editor_plugin.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit godotengine/godot@87318a2fb7fffeb72adca934e31915be077c3d1fSpartan3222024-11-061-20/+73
|\
| * Add quad mesh to material previewtetrapod002024-11-011-20/+73
| |
* | Merge commit godotengine/godot@8004c7524fb9f43425c4d6f614410a76678e0f7cSpartan3222024-10-301-4/+4
|\|
| * Rename internal Button icon to button_icon to match exposed methodsAaron Franke2024-10-291-4/+4
| |
* | Fix copyright headers referring to GodotSpartan3222024-10-271-2/+2
| |
* | Rebrand preambles to RedotDubhghlas McLaughlin2024-10-111-0/+2
|/ | | | | | | | | | | | | | | | | | | | | | Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* Add a material preview to visual shader editorYuri Rubinsky2024-08-171-2/+31
|
* [Scene] Add SceneStringNames::pressedA Thousand Ships2024-05-141-4/+4
|
* Add const lvalue ref to editor/* container parametersMuller-Castro2024-02-261-1/+1
|
* Move 3D-only resources to their own folderAaron Franke2024-02-261-2/+2
|
* Reorganize code related to editor themingYuri Sizov2024-01-161-1/+1
| | | | | | | | | | | | | This change introduces a new EditorThemeManager class to abstract theme generatio and its subroutines. Logic related to EditorTheme, EditorColorMap, and editor icons has been extracted into their respective files with includes cleaned up. All related files have been moved to a separate folder to better scope them in the project. This includes relevant generated files as well.
* Add EditorStringNames singletonkobewi2023-09-031-5/+5
|
* Avoid unnecessary inspector updates when loading or switching scenesYuri Sizov2023-08-121-1/+1
| | | | | | This should result in some noticeable performance improvements, aside from fixing bugs due to conflicts in logic. This also simplifies some related code identified while debugging.
* Improve material and mesh preview buttonsMewPurPur2023-08-041-49/+45
|
* Use a SubViewport for CanvasItem inspector previewTetane2023-04-281-1/+11
|
* Extract editor run toolbar into its own componentYuri Sizov2023-04-191-0/+1
| | | | | | | | - Simplify and update its logic. - Simplify EditorScript. - Improve EditorNode and other relevant includes. - Fix scene-based path in the movie writer when reloading a scene.
* Improve includes of EditorNode (and everything else)Yuri Sizov2023-04-071-0/+6
| | | | | | Also start organizing editor-specific GUI components into a dedicated folder, `editor/gui`. Also move `editor_file_server` next to the rest of debugger classes.
* Add EditorUndoRedoManager singletonkobewi2023-01-161-2/+2
|
* Use BitField<> in core type masksJuan Linietsky2023-01-081-1/+1
| | | | | | | | * All core types masks are now correctly marked as bitfields. * The enum hacks in MouseButtonMask and many other types are gone. This ensures that binders to other languages non C++ can actually implement type safe bitmasks. * Most bitmask operations replaced by functions in BitField<> * Key is still a problem because its enum and mask at the same time. While it kind of works in C++, this most likely can't be implemented safely in other languages and will have to be changed at some point. Mostly left as-is. * Documentation and API dump updated to reflect bitfields in core types.
* One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
* Rename TextureButton set_*_texture methods to set_texture_*Aaron Franke2022-11-191-9/+9
|
* Enable material editor preview to be rotated.Anilforextra2022-09-071-13/+33
|
* Merge pull request #65210 from YuriSizov/control-customizable-cache-p3Rémi Verschelde2022-09-021-21/+25
|\
| * Fix theme propagation in various parts of the editorYuri Sizov2022-09-021-21/+25
| |
* | Merge pull request #64952 from Chaosus/vs_rename_uniform_to_paramRémi Verschelde2022-09-021-18/+18
|\ \ | |/ |/|
| * Rename `uniform` to `parameter` across the engineYuri Rubinsky2022-09-011-18/+18
| |
* | Implement Physical Light Units as an optional setting.clayjohn2022-08-311-0/+5
|/ | | | | | 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.
* Merge pull request #63003 from Geometror/msaa-2dRémi Verschelde2022-08-301-1/+1
|\
| * Implement MSAA for 2D [Vulkan only]Hendrik Brucker2022-08-131-1/+1
| |
* | Merge pull request #64367 from Mickeon/rename-var-to-strRémi Verschelde2022-08-261-2/+2
|\ \ | | | | | | Rename `str2var` to `str_to_var` and similar
| * | Rename `str2var` to `str_to_var` and similarMicky2022-08-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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`
* | | Rename ParticlesMaterial to ParticleProcessMaterialMicky2022-08-261-6/+6
|/ / | | | | | | Also affects their file names, related classes and documentation.
* / Add per-scene UndoRedokobewi2022-08-221-4/+3
|/
* Rename shader parameter uniform setter/getter methods for consistencyHugo Locurcio2022-08-041-18/+18
| | | | | | `shader_uniform` is now consistenly used across both per-shader and per-instance shader uniform methods. This makes methods easier to find in the class reference when looking for them.
* Extract EditorResourceConversionPlugin into its own source files and clean ↵Yuri Sizov2022-07-311-0/+1
| | | | up editor includes
* Remove Signal connect bindsJuan Linietsky2022-07-291-4/+4
| | | | | Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
* Merge pull request #62888 from ↵Hugo Locurcio2022-07-271-3/+5
|\ | | | | | | | | Calinou/editor-material-preview-improve-appearance Improve appearance of the material editor preview
| * Improve appearance of the material editor previewHugo Locurcio2022-07-101-3/+5
| | | | | | | | | | - Use lower camera FOV to show more of the sphere/box, while still fully displaying the meshes in question.
* | Rename Control PRESET_WIDE to PRESET_FULL_RECTFireForge2022-07-181-3/+3
|/
* Fix some issues found by cppcheck.bruvzg2022-04-061-2/+2
|
* Update if == NOTIFICATION_* to switch statements to match coding stylemegalobyte2022-02-161-19/+21
|
* Remove most EditorNode constructor parameters and fieldstrollodel2022-02-141-1/+1
|
* Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker2022-02-121-0/+1
|
* Fix typos with codespellRémi Verschelde2022-01-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using codespell 2.1.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang ans ba curvelinear dof doubleclick fave findn gird inout leapyear lod merchantibility nd numer ois ony que readded seeked statics
* Move metallic and roughness automated assignment to an inspector UndoRedoSaracenOne2022-01-061-0/+39
| | | | callback.
* Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
| | | | Happy new year to the wonderful Godot community!
* Fixup last commit, change misleading CodeEditor for consistencyRémi Verschelde2021-12-091-1/+1
|
* Fix mid-air conflict between #55299 and #55692Rémi Verschelde2021-12-091-1/+1
|
* Add CanvasItem mode support to the MaterialEditorYuri Roubinsky2021-12-071-10/+41
|
* Added convertor from `ORMMaterial3D` to `ShaderMaterial`Yuri Roubinsky2021-10-291-0/+46
|