-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mute (most) sounds on freeze, burnout particles quality settings
- Loading branch information
Showing
15 changed files
with
181 additions
and
22 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
addons/aacc/materials/particles/burnout/burnout_render_high.tres
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://c8e0oe0drsip2"] | ||
|
||
[ext_resource type="Texture2D" uid="uid://dcfh0h4h0tw74" path="res://addons/aacc/textures/WispySmoke01_8x8.tga" id="1_wcy51"] | ||
|
||
[resource] | ||
transparency = 4 | ||
shading_mode = 2 | ||
diffuse_mode = 2 | ||
specular_mode = 2 | ||
vertex_color_use_as_albedo = true | ||
albedo_texture = ExtResource("1_wcy51") | ||
billboard_mode = 3 | ||
billboard_keep_scale = true | ||
particles_anim_h_frames = 8 | ||
particles_anim_v_frames = 8 | ||
particles_anim_loop = false | ||
proximity_fade_enabled = true | ||
distance_fade_mode = 1 | ||
distance_fade_min_distance = 0.5 | ||
distance_fade_max_distance = 2.0 |
20 changes: 20 additions & 0 deletions
20
addons/aacc/materials/particles/burnout/burnout_render_low.tres
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://cssl2n4bwup7n"] | ||
|
||
[ext_resource type="Texture2D" uid="uid://dcfh0h4h0tw74" path="res://addons/aacc/textures/WispySmoke01_8x8.tga" id="1_jhelc"] | ||
|
||
[resource] | ||
transparency = 4 | ||
shading_mode = 2 | ||
diffuse_mode = 2 | ||
specular_mode = 2 | ||
vertex_color_use_as_albedo = true | ||
albedo_texture = ExtResource("1_jhelc") | ||
disable_receive_shadows = true | ||
billboard_mode = 3 | ||
billboard_keep_scale = true | ||
particles_anim_h_frames = 8 | ||
particles_anim_v_frames = 8 | ||
particles_anim_loop = false | ||
distance_fade_mode = 1 | ||
distance_fade_min_distance = 0.5 | ||
distance_fade_max_distance = 2.0 |
21 changes: 21 additions & 0 deletions
21
addons/aacc/materials/particles/burnout/burnout_render_medium.tres
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://3pj8yaou00og"] | ||
|
||
[ext_resource type="Texture2D" uid="uid://dcfh0h4h0tw74" path="res://addons/aacc/textures/WispySmoke01_8x8.tga" id="1_7idyy"] | ||
|
||
[resource] | ||
transparency = 4 | ||
shading_mode = 2 | ||
diffuse_mode = 2 | ||
specular_mode = 2 | ||
vertex_color_use_as_albedo = true | ||
albedo_texture = ExtResource("1_7idyy") | ||
disable_receive_shadows = true | ||
billboard_mode = 3 | ||
billboard_keep_scale = true | ||
particles_anim_h_frames = 8 | ||
particles_anim_v_frames = 8 | ||
particles_anim_loop = false | ||
proximity_fade_enabled = true | ||
distance_fade_mode = 1 | ||
distance_fade_min_distance = 0.5 | ||
distance_fade_max_distance = 2.0 |
19 changes: 19 additions & 0 deletions
19
addons/aacc/materials/particles/burnout/burnout_render_ultra.tres
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://c8e0oe0drsip2"] | ||
|
||
[ext_resource type="Texture2D" uid="uid://dcfh0h4h0tw74" path="res://addons/aacc/textures/WispySmoke01_8x8.tga" id="1_cjtm3"] | ||
|
||
[resource] | ||
transparency = 4 | ||
diffuse_mode = 2 | ||
specular_mode = 2 | ||
vertex_color_use_as_albedo = true | ||
albedo_texture = ExtResource("1_cjtm3") | ||
billboard_mode = 3 | ||
billboard_keep_scale = true | ||
particles_anim_h_frames = 8 | ||
particles_anim_v_frames = 8 | ||
particles_anim_loop = false | ||
proximity_fade_enabled = true | ||
distance_fade_mode = 1 | ||
distance_fade_min_distance = 0.5 | ||
distance_fade_max_distance = 2.0 |
20 changes: 20 additions & 0 deletions
20
addons/aacc/materials/particles/burnout/burnout_render_very_low.tres
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://67bxlf4dvjc"] | ||
|
||
[ext_resource type="Texture2D" uid="uid://dcfh0h4h0tw74" path="res://addons/aacc/textures/WispySmoke01_8x8.tga" id="1_4nqps"] | ||
|
||
[resource] | ||
transparency = 4 | ||
shading_mode = 0 | ||
diffuse_mode = 2 | ||
specular_mode = 2 | ||
vertex_color_use_as_albedo = true | ||
albedo_texture = ExtResource("1_4nqps") | ||
disable_receive_shadows = true | ||
billboard_mode = 3 | ||
billboard_keep_scale = true | ||
particles_anim_h_frames = 8 | ||
particles_anim_v_frames = 8 | ||
particles_anim_loop = false | ||
distance_fade_mode = 1 | ||
distance_fade_min_distance = 0.5 | ||
distance_fade_max_distance = 2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
addons/aacc/scripts/particles/burnout_particles_quality.gd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
extends GPUParticles3D | ||
|
||
@export var very_low_quality: BaseMaterial3D | ||
@export var low_quality: BaseMaterial3D | ||
@export var medium_quality: BaseMaterial3D | ||
@export var high_quality: BaseMaterial3D | ||
@export var ultra_quality: BaseMaterial3D | ||
|
||
var _last_quality: AACCGlobal.BurnoutParticlesQuality = AACCGlobal.BurnoutParticlesQuality.LOW | ||
|
||
func _process(delta: float) -> void: | ||
if AACCGlobal.current_burnout_particles_quality != _last_quality: | ||
match AACCGlobal.current_burnout_particles_quality: | ||
AACCGlobal.BurnoutParticlesQuality.OFF: | ||
visible = false | ||
AACCGlobal.BurnoutParticlesQuality.VERY_LOW: | ||
visible = true | ||
material_override = very_low_quality | ||
AACCGlobal.BurnoutParticlesQuality.LOW: | ||
visible = true | ||
material_override = low_quality | ||
AACCGlobal.BurnoutParticlesQuality.MEDIUM: | ||
visible = true | ||
material_override = medium_quality | ||
AACCGlobal.BurnoutParticlesQuality.HIGH: | ||
visible = true | ||
material_override = high_quality | ||
AACCGlobal.BurnoutParticlesQuality.ULTRA: | ||
visible = true | ||
material_override = ultra_quality | ||
_last_quality = AACCGlobal.current_burnout_particles_quality |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
uid://3nxhrhbqiab |