Skip to content

Commit 112c944

Browse files
committed
Merge branch 'master' into browse-community-nodes-icon
2 parents b7b6e76 + e0a4250 commit 112c944

10 files changed

Lines changed: 150 additions & 71 deletions

File tree

.github/workflows/godot-templates-build.yml

Lines changed: 50 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
name: Build Export Templates (Single Job)
22

33
on:
4-
push:
5-
branches: [main]
64
workflow_dispatch:
75

6+
env:
7+
GODOT_VERSION: 4.5.1
8+
GODOT_SUB: stable
9+
GODOT_DOWNLOAD_DIR: https://github.com/godotengine/godot-builds/releases/download/${GODOT_VERSION}-${GODOT_SUB}
10+
SCONSFLAGS: verbose=yes warnings=all use_lto=yes
11+
812
jobs:
913
build_templates:
1014
runs-on: ubuntu-latest
11-
env:
12-
GODOT_VERSION: 4.5.1
13-
GODOT_SUB: stable
14-
GODOT_DOWNLOAD_DIR: https://github.com/godotengine/godot-builds/releases/download/${GODOT_VERSION}-${GODOT_SUB}
15-
SCONSFLAGS: verbose=yes warnings=all use_lto=yes
1615

1716
steps:
1817
- name: Checkout current repo
@@ -58,13 +57,13 @@ jobs:
5857
- name: Build export templates (Linux)
5958
run: |
6059
cd godot
61-
scons platform=linuxbsd target=template_release tools=no
60+
scons platform=linuxbsd target=template_release tools=no production=yes
6261
cd ..
6362
6463
- name: Build export templates (Windows)
6564
run: |
6665
cd godot
67-
scons platform=windows target=template_release arch=x86_64 tools=no
66+
scons platform=windows target=template_release arch=x86_64 tools=no production=yes
6867
cd ..
6968
7069
- name: Package Linux build
@@ -90,3 +89,45 @@ jobs:
9089
with:
9190
name: windows-templates
9291
path: export_templates_windows.zip
92+
build_templates_macos:
93+
runs-on: macos-latest
94+
95+
steps:
96+
- name: Checkout current repo
97+
uses: actions/checkout@v4
98+
with:
99+
path: material-maker
100+
101+
- name: Clone latest stable Godot source into ./godot
102+
run: |
103+
git clone --depth 1 --branch ${GODOT_VERSION}-${GODOT_SUB} https://github.com/godotengine/godot.git godot
104+
cd godot
105+
patch -p1 < ../material-maker/material_maker/misc/mm.patch
106+
107+
- name: Install dependencies
108+
run: |
109+
brew install scons
110+
./godot/misc/scripts/install_vulkan_sdk_macos.sh
111+
112+
- name: Cache SCons build artifacts
113+
uses: actions/cache@v3
114+
with:
115+
path: |
116+
godot/.sconsign.dblite
117+
godot/bin/
118+
key: ${{ runner.os }}-godot-${{ hashFiles('godot/**/*.cpp', 'godot/**/*.h', 'godot/SConstruct', 'godot/SCsub') }}
119+
restore-keys: |
120+
${{ runner.os }}-godot-
121+
122+
- name: Build export templates (MacOS)
123+
run: |
124+
cd godot
125+
scons platform=macos arch=x86_64 target=template_release tools=no production=yes
126+
scons platform=macos arch=arm64 target=template_release tools=no production=yes generate_bundle=yes
127+
cp ./bin/godot_macos.zip ../export_templates_macos.zip
128+
129+
- name: Upload MacOS artifact
130+
uses: actions/upload-artifact@v4
131+
with:
132+
name: macos-templates
133+
path: export_templates_macos.zip

material_maker/nodes/comment/comment.gd

Lines changed: 30 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ var pallette_colors = [
3232
const AUTO_SIZE_PADDING : int = 22
3333
const AUTO_SIZE_TOP_PADDING : int = 72
3434

35+
var is_resizing : bool = false
36+
var undo_action : Dictionary = { type="resize_comment" }
3537

3638
func do_set_position(o : Vector2) -> void:
3739
disable_undoredo_for_offset = true
@@ -40,16 +42,18 @@ func do_set_position(o : Vector2) -> void:
4042
disable_undoredo_for_offset = false
4143

4244
func _on_resize_request(new_size : Vector2) -> void:
43-
var parent : GraphEdit = get_parent()
44-
if parent.snapping_enabled:
45-
new_size = parent.snapping_distance*Vector2(round(new_size.x/parent.snapping_distance), round(new_size.y/parent.snapping_distance))
46-
if size == new_size:
45+
if is_resizing:
4746
return
48-
var undo_action = { type="resize_comment", node=generator.get_hier_name(), size=size }
49-
var redo_action = { type="resize_comment", node=generator.get_hier_name(), size=new_size }
50-
get_parent().undoredo.add("Resize comment", [undo_action], [redo_action], true)
47+
undo_action = { type="resize_comment", node=generator.get_hier_name(), size=new_size }
48+
is_resizing = true
49+
size = new_size
50+
51+
func _on_resize_end(new_size: Vector2) -> void:
52+
is_resizing = false
5153
size = new_size
5254
generator.size = new_size
55+
var redo_action := { type="resize_comment", node=generator.get_hier_name(), size=size }
56+
get_parent().undoredo.add("Resize comment", [undo_action], [redo_action], true)
5357

5458
func resize_to_selection() -> void:
5559
# If any nodes are selected on initialization automatically adjust size to match
@@ -95,6 +99,12 @@ func _on_gui_input(event):
9599
mouse_default_cursor_shape = Control.CURSOR_FDIAGSIZE
96100
else:
97101
mouse_default_cursor_shape = Control.CURSOR_ARROW
102+
if event is InputEventMouseButton and event.double_click and event.button_index == MOUSE_BUTTON_LEFT:
103+
editor.editable = true
104+
editor.mouse_filter = MOUSE_FILTER_STOP
105+
editor.select_all()
106+
editor.grab_focus()
107+
accept_event()
98108

99109
func _on_Title_gui_input(event):
100110
if event is InputEventMouseButton and event.double_click and event.button_index == MOUSE_BUTTON_LEFT:
@@ -116,17 +126,9 @@ func _on_title_edit_text_submitted(_new_text):
116126

117127
# Text edit
118128

119-
func _on_text_gui_input(event):
120-
if event is InputEventMouseButton and event.double_click and event.button_index == MOUSE_BUTTON_LEFT:
121-
editor.editable = true
122-
editor.mouse_filter = MOUSE_FILTER_STOP
123-
editor.select_all()
124-
editor.grab_focus()
125-
accept_event()
126-
127129
func _on_text_focus_exited():
128130
editor.editable = false
129-
editor.mouse_filter = MOUSE_FILTER_PASS
131+
editor.mouse_filter = MOUSE_FILTER_IGNORE
130132
generator.text = editor.text
131133

132134
# Comment color
@@ -183,10 +185,19 @@ func _on_ColorChooser_gui_input(event: InputEvent) -> void:
183185
$PopupSelector.get_window().content_scale_factor = content_scale_factor
184186
$PopupSelector.get_window().min_size = $PopupSelector.get_window().get_contents_minimum_size() * content_scale_factor
185187
$PopupSelector.get_window().position = get_global_mouse_position() * content_scale_factor
188+
var color_picker : ColorPicker = $PopupSelector/PanelContainer/ColorPicker
189+
$PopupSelector.about_to_popup.connect(func():
190+
if mm_globals.has_config("color_picker_color_mode"):
191+
color_picker.color_mode = mm_globals.get_config("color_picker_color_mode")
192+
if mm_globals.has_config("color_picker_shape"):
193+
color_picker.picker_shape = mm_globals.get_config("color_picker_shape"))
194+
$PopupSelector.popup_hide.connect(func():
195+
mm_globals.set_config("color_picker_color_mode", color_picker.color_mode)
196+
mm_globals.set_config("color_picker_shape", color_picker.picker_shape))
186197
$PopupSelector.popup()
187-
$PopupSelector/PanelContainer/ColorPicker.color = generator.color
188-
if not $PopupSelector/PanelContainer/ColorPicker.color_changed.is_connected(self.set_color):
189-
$PopupSelector/PanelContainer/ColorPicker.color_changed.connect(self.set_color)
198+
color_picker.color = generator.color
199+
if not color_picker.color_changed.is_connected(self.set_color):
200+
color_picker.color_changed.connect(self.set_color)
190201

191202
func _on_close_pressed():
192203
get_parent().remove_node(self)

material_maker/nodes/comment/comment.tscn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ unique_name_in_owner = true
6868
layout_mode = 2
6969
size_flags_vertical = 3
7070
focus_mode = 1
71-
mouse_filter = 1
71+
mouse_filter = 2
7272
wrap_mode = 1
7373
caret_blink = true
7474
caret_multiple = false
@@ -153,6 +153,7 @@ edit_alpha = false
153153
[connection signal="node_selected" from="." to="." method="_on_node_selected"]
154154
[connection signal="position_offset_changed" from="." to="." method="_on_position_offset_changed"]
155155
[connection signal="raise_request" from="." to="." method="_on_raise_request"]
156+
[connection signal="resize_end" from="." to="." method="_on_resize_end"]
156157
[connection signal="resize_request" from="." to="." method="_on_resize_request"]
157158
[connection signal="gui_input" from="PanelContainer/MarginContainer/VBox/TitleBar/Title" to="." method="_on_Title_gui_input"]
158159
[connection signal="focus_exited" from="PanelContainer/MarginContainer/VBox/TitleBar/TitleEdit" to="." method="_on_title_edit_focus_exited"]
@@ -161,6 +162,5 @@ edit_alpha = false
161162
[connection signal="pressed" from="PanelContainer/MarginContainer/VBox/TitleBar/ChangeColor" to="." method="_on_change_color_pressed"]
162163
[connection signal="pressed" from="PanelContainer/MarginContainer/VBox/TitleBar/Close" to="." method="_on_close_pressed"]
163164
[connection signal="focus_exited" from="PanelContainer/MarginContainer/VBox/Text" to="." method="_on_text_focus_exited"]
164-
[connection signal="gui_input" from="PanelContainer/MarginContainer/VBox/Text" to="." method="_on_text_gui_input"]
165165
[connection signal="ready" from="PanelContainer/MarginContainer/VBox/Text" to="." method="_on_text_ready"]
166166
[connection signal="gui_input" from="Popup/GridContainer/ColorChooser" to="." method="_on_ColorChooser_gui_input"]

material_maker/nodes/remote/remote.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ func row_drop_data(_at_pos: Vector2, data: Dictionary, index: int) -> void:
326326
# workaround FloatEdits' focused state when dropping rows
327327
await get_tree().process_frame
328328
for float_edit in grid.get_children():
329-
if float_edit is PanelContainer:
329+
if float_edit is FloatEdit:
330330
float_edit.get_child(0).add_theme_stylebox_override(
331331
"fill", get_theme_stylebox("fill_normal", "MM_NodeFloatEdit"))
332332
float_edit.get_child(0).add_theme_stylebox_override(

material_maker/panels/graph_edit/graph_edit.gd

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1039,7 +1039,7 @@ func highlight_connections() -> void:
10391039

10401040
func _on_GraphEdit_node_selected(node : GraphElement) -> void:
10411041
if node is MMGraphComment:
1042-
print("Selecting enclosed nodes...")
1042+
#print("Selecting enclosed nodes...")
10431043
for c in get_children():
10441044
if (c is GraphNode or c is MMGraphCommentLine) and c != node:
10451045
if node.get_rect().encloses(c.get_rect()):
@@ -1735,15 +1735,22 @@ func color_comment_nodes() -> void:
17351735
func(n): return (n is MMGraphComment and n.selected))
17361736
if not comments.is_empty():
17371737
undoredo.start_group()
1738-
var picker := preload(
1739-
"res://material_maker/widgets/color_picker_popup/color_picker_popup.tscn").instantiate()
1738+
var picker : PopupPanel = preload("res://material_maker/widgets/color_picker_popup/color_picker_popup.tscn").instantiate()
17401739
picker.hide()
17411740
add_child(picker)
1742-
var color_picker := picker.get_node("ColorPicker")
1741+
var color_picker : ColorPicker = picker.get_node("ColorPicker")
17431742
for node in comments:
17441743
color_picker.color_changed.connect(node.set_color)
17451744
color_picker.color = node.generator.color
17461745
var csf = get_window().content_scale_factor
1746+
picker.about_to_popup.connect(func():
1747+
if mm_globals.has_config("color_picker_color_mode"):
1748+
color_picker.color_mode = mm_globals.get_config("color_picker_color_mode")
1749+
if mm_globals.has_config("color_picker_shape"):
1750+
color_picker.picker_shape = mm_globals.get_config("color_picker_shape"))
1751+
picker.popup_hide.connect(func():
1752+
mm_globals.set_config("color_picker_color_mode", color_picker.color_mode)
1753+
mm_globals.set_config("color_picker_shape", color_picker.picker_shape))
17471754
picker.content_scale_factor = csf
17481755
picker.min_size = picker.get_contents_minimum_size() * csf
17491756
picker.position = get_screen_position() + get_local_mouse_position() * csf

material_maker/panels/preview_3d/post_process_menu.gd

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,19 @@ func expand_panel_width() -> void:
8787
custom_minimum_size.x = (custom_min_width + v_scroll.size.x
8888
if v_scroll.visible else custom_min_width)
8989

90+
func is_section_not_default(section : String):
91+
var not_default := true
92+
for config in mm_globals.DEFAULT_CONFIG.keys():
93+
var key := "ui_3d_preview_" + section
94+
if key in config and "enable" not in config:
95+
not_default = not_default and (mm_globals.get_config(config) == mm_globals.DEFAULT_CONFIG[config])
96+
return not_default
97+
98+
func _process(_delta: float) -> void:
99+
$ScrollContainer/VBoxContainer/TonemapHeader/ResetTonemapSection.disabled = is_section_not_default("tonemap")
100+
$ScrollContainer/VBoxContainer/GlowHeader/ResetGlowSection.disabled = is_section_not_default("glow")
101+
$ScrollContainer/VBoxContainer/AdjustmentHeader/ResetAdjustmentSection.disabled = is_section_not_default("adjustment")
102+
$ScrollContainer/VBoxContainer/DepthOfFieldHeader/ResetDofSection.disabled = is_section_not_default("dof")
90103

91104
func _ready() -> void:
92105
custom_min_width = custom_minimum_size.x

material_maker/theme/default light.tres

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[gd_resource type="Theme" script_class="EnhancedTheme" load_steps=61 format=3 uid="uid://u00kx2lkkx8j"]
1+
[gd_resource type="Theme" script_class="EnhancedTheme" load_steps=62 format=3 uid="uid://u00kx2lkkx8j"]
22

33
[ext_resource type="Theme" uid="uid://b628lwfk6ig2c" path="res://material_maker/theme/default.tres" id="1_ugsao"]
44
[ext_resource type="Script" uid="uid://3ga2k3abkk0d" path="res://material_maker/theme/enhanced_theme_system/color_swap.gd" id="4_rhf2q"]
@@ -371,9 +371,15 @@ orig = Color(0.039215688, 0.039215688, 0.039215688, 1)
371371
target = Color(0, 0, 0, 0.05882353)
372372
metadata/_custom_type_script = "uid://3ga2k3abkk0d"
373373

374+
[sub_resource type="Resource" id="Resource_41atc"]
375+
script = ExtResource("4_rhf2q")
376+
name = "RichTextLabelDefaultColor"
377+
orig = Color(1, 1, 1, 1)
378+
metadata/_custom_type_script = "uid://3ga2k3abkk0d"
379+
374380
[resource]
375381
script = ExtResource("5_fagh3")
376382
base_theme = ExtResource("1_ugsao")
377383
font_color_swaps = Array[ExtResource("4_rhf2q")]([SubResource("Resource_silay"), SubResource("Resource_eavso"), SubResource("Resource_1jhxl"), SubResource("Resource_qiwix"), SubResource("Resource_5yhcl"), SubResource("Resource_vdnfu"), SubResource("Resource_21aar"), SubResource("Resource_us4qf"), SubResource("Resource_3wcad"), SubResource("Resource_mhcke")])
378384
icon_color_swaps = Array[ExtResource("4_rhf2q")]([SubResource("Resource_cisvi"), SubResource("Resource_j2h7k"), SubResource("Resource_8dhbo"), SubResource("Resource_5oh4i")])
379-
theme_color_swaps = Array[ExtResource("4_rhf2q")]([SubResource("Resource_ub5ur"), SubResource("Resource_5rv7m"), SubResource("Resource_xqbwo"), SubResource("Resource_a2t6i"), SubResource("Resource_pekt7"), SubResource("Resource_vbpcr"), SubResource("Resource_qngft"), SubResource("Resource_5mixu"), SubResource("Resource_kxmra"), SubResource("Resource_siafh"), SubResource("Resource_s732t"), SubResource("Resource_j1t84"), SubResource("Resource_g7e3b"), SubResource("Resource_oirgf"), SubResource("Resource_1pump"), SubResource("Resource_fxm05"), SubResource("Resource_mfxjg"), SubResource("Resource_upxps"), SubResource("Resource_upxps"), SubResource("Resource_lk0mo"), SubResource("Resource_sgt8g"), SubResource("Resource_p6yfp"), SubResource("Resource_mntha"), SubResource("Resource_5l403"), SubResource("Resource_qx1ic"), SubResource("Resource_skxhu"), SubResource("Resource_gf74u"), SubResource("Resource_6iwcg"), SubResource("Resource_emwrq"), SubResource("Resource_g0345"), SubResource("Resource_mqr67"), SubResource("Resource_enwto"), SubResource("Resource_t0kvp"), SubResource("Resource_tw3yc"), SubResource("Resource_5w06f"), SubResource("Resource_m8hbw"), SubResource("Resource_xnhnj"), SubResource("Resource_jh8b5"), SubResource("Resource_2d8ce"), SubResource("Resource_qqxbn"), SubResource("Resource_4naeq"), SubResource("Resource_pu57y"), SubResource("Resource_wwbst"), SubResource("Resource_q74a5")])
385+
theme_color_swaps = Array[ExtResource("4_rhf2q")]([SubResource("Resource_ub5ur"), SubResource("Resource_5rv7m"), SubResource("Resource_xqbwo"), SubResource("Resource_a2t6i"), SubResource("Resource_pekt7"), SubResource("Resource_vbpcr"), SubResource("Resource_qngft"), SubResource("Resource_5mixu"), SubResource("Resource_kxmra"), SubResource("Resource_siafh"), SubResource("Resource_s732t"), SubResource("Resource_j1t84"), SubResource("Resource_g7e3b"), SubResource("Resource_oirgf"), SubResource("Resource_1pump"), SubResource("Resource_fxm05"), SubResource("Resource_mfxjg"), SubResource("Resource_upxps"), SubResource("Resource_upxps"), SubResource("Resource_lk0mo"), SubResource("Resource_sgt8g"), SubResource("Resource_p6yfp"), SubResource("Resource_mntha"), SubResource("Resource_5l403"), SubResource("Resource_qx1ic"), SubResource("Resource_skxhu"), SubResource("Resource_gf74u"), SubResource("Resource_6iwcg"), SubResource("Resource_emwrq"), SubResource("Resource_g0345"), SubResource("Resource_mqr67"), SubResource("Resource_enwto"), SubResource("Resource_t0kvp"), SubResource("Resource_tw3yc"), SubResource("Resource_5w06f"), SubResource("Resource_m8hbw"), SubResource("Resource_xnhnj"), SubResource("Resource_jh8b5"), SubResource("Resource_2d8ce"), SubResource("Resource_qqxbn"), SubResource("Resource_4naeq"), SubResource("Resource_pu57y"), SubResource("Resource_wwbst"), SubResource("Resource_q74a5"), SubResource("Resource_41atc")])

material_maker/windows/progress_window/progress_window.gd

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,15 @@ extends Popup
22

33
func _ready() -> void:
44
content_scale_factor = mm_globals.main_window.get_window().content_scale_factor
5+
_on_panel_container_minimum_size_changed()
56
popup_centered()
67

78
func set_text(t) -> void:
8-
$PanelContainer/VBoxContainer/Step.text = t
9+
$PanelContainer/MarginContainer/VBoxContainer/Step.text = t
910

1011
func set_progress(p) -> void:
11-
$PanelContainer/VBoxContainer/ProgressBar.value = p * 100.0
12+
$PanelContainer/MarginContainer/VBoxContainer/ProgressBar.value = p * 100.0
13+
14+
func _on_panel_container_minimum_size_changed() -> void:
15+
max_size = get_contents_minimum_size()
16+
move_to_center()
Lines changed: 27 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,40 @@
1-
[gd_scene load_steps=2 format=3 uid="uid://dn262nq5pxuwx"]
1+
[gd_scene load_steps=3 format=3 uid="uid://dn262nq5pxuwx"]
22

3-
[ext_resource type="Script" path="res://material_maker/windows/progress_window/progress_window.gd" id="1"]
3+
[ext_resource type="Script" uid="uid://dc3whtfw8v3lr" path="res://material_maker/windows/progress_window/progress_window.gd" id="1"]
4+
[ext_resource type="Theme" uid="uid://b628lwfk6ig2c" path="res://material_maker/theme/default.tres" id="2_ja6xq"]
45

56
[node name="ProgressWindow" type="Popup"]
6-
anchor_left = 0.5
7-
anchor_top = 0.5
8-
anchor_right = 0.5
9-
anchor_bottom = 0.5
10-
offset_left = -293.0
11-
offset_top = -163.0
12-
offset_right = 5.0
13-
offset_bottom = -98.0
7+
oversampling_override = 1.0
8+
size = Vector2i(250, 100)
9+
visible = true
1410
exclusive = true
11+
theme = ExtResource("2_ja6xq")
1512
script = ExtResource("1")
16-
__meta__ = {
17-
"_edit_use_anchors_": false
18-
}
1913

2014
[node name="PanelContainer" type="PanelContainer" parent="."]
15+
custom_minimum_size = Vector2(250, 0)
16+
anchors_preset = 15
2117
anchor_right = 1.0
2218
anchor_bottom = 1.0
23-
__meta__ = {
24-
"_edit_use_anchors_": false
25-
}
26-
27-
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
28-
offset_left = 7.0
29-
offset_top = 7.0
30-
offset_right = 291.0
31-
offset_bottom = 58.0
32-
33-
[node name="Step" type="Label" parent="PanelContainer/VBoxContainer"]
34-
offset_top = 9.0
35-
offset_right = 284.0
36-
offset_bottom = 23.0
19+
20+
[node name="MarginContainer" type="MarginContainer" parent="PanelContainer"]
21+
layout_mode = 2
22+
theme_override_constants/margin_left = 12
23+
theme_override_constants/margin_top = 12
24+
theme_override_constants/margin_right = 12
25+
theme_override_constants/margin_bottom = 12
26+
27+
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer/MarginContainer"]
28+
layout_mode = 2
29+
30+
[node name="Step" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer"]
31+
layout_mode = 2
3732
size_flags_vertical = 6
3833
text = "Doing this, doing that"
39-
align = 1
34+
horizontal_alignment = 1
4035

41-
[node name="ProgressBar" type="ProgressBar" parent="PanelContainer/VBoxContainer"]
42-
offset_top = 37.0
43-
offset_right = 284.0
44-
offset_bottom = 51.0
36+
[node name="ProgressBar" type="ProgressBar" parent="PanelContainer/MarginContainer/VBoxContainer"]
37+
layout_mode = 2
4538
rounded = true
39+
40+
[connection signal="minimum_size_changed" from="PanelContainer" to="." method="_on_panel_container_minimum_size_changed"]

project.godot

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ limits/debugger/max_chars_per_second=204800000
140140

141141
[rendering]
142142

143+
rendering_device/driver.macos="vulkan"
143144
textures/vram_compression/import_etc2_astc=true
144145
shading/overrides/force_lambert_over_burley.mobile=false
145146
environment/defaults/default_environment="res://default_env.tres"

0 commit comments

Comments
 (0)