123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107 |
- [gd_scene load_steps=55 format=3 uid="uid://clyxqp0e6qemi"]
- [ext_resource type="Texture2D" uid="uid://ccgkupemr6e1q" path="res://textures/paint.png" id="3_2nulf"]
- [ext_resource type="PackedScene" uid="uid://daokc0jvx7nkw" path="res://thin_lines.tscn" id="3_5ehjl"]
- [ext_resource type="PackedScene" uid="uid://sxx5ow26t0c3" path="res://polyhaven/dutch_ship_medium_1k.gltf" id="3_fa2bl"]
- [ext_resource type="Texture2D" uid="uid://bm6eht0bqttpo" path="res://textures/paint_normal.png" id="4_fdfpv"]
- [ext_resource type="Texture2D" uid="uid://chjqieyps5n5r" path="res://textures/checker.png" id="14"]
- [ext_resource type="Script" path="res://anti_aliasing.gd" id="18"]
- [sub_resource type="ProceduralSkyMaterial" id="9"]
- [sub_resource type="Sky" id="10"]
- sky_material = SubResource("9")
- [sub_resource type="Environment" id="11"]
- background_mode = 2
- sky = SubResource("10")
- [sub_resource type="Animation" id="Animation_qdnt6"]
- length = 0.001
- tracks/0/type = "value"
- tracks/0/imported = false
- tracks/0/enabled = true
- tracks/0/path = NodePath("Testers/MovingObject/MeshInstance3D:position")
- tracks/0/interp = 1
- tracks/0/loop_wrap = true
- tracks/0/keys = {
- "times": PackedFloat32Array(0),
- "transitions": PackedFloat32Array(1),
- "update": 0,
- "values": [Vector3(0, 0.5, 0)]
- }
- tracks/1/type = "value"
- tracks/1/imported = false
- tracks/1/enabled = true
- tracks/1/path = NodePath("Testers/RotatingObject/MeshInstance3D:rotation")
- tracks/1/interp = 1
- tracks/1/loop_wrap = true
- tracks/1/keys = {
- "times": PackedFloat32Array(0),
- "transitions": PackedFloat32Array(1),
- "update": 0,
- "values": [Vector3(0, 0, 0)]
- }
- tracks/2/type = "value"
- tracks/2/imported = false
- tracks/2/enabled = true
- tracks/2/path = NodePath("Testers/ScalingObject/MeshInstance3D:scale")
- tracks/2/interp = 1
- tracks/2/loop_wrap = true
- tracks/2/keys = {
- "times": PackedFloat32Array(0),
- "transitions": PackedFloat32Array(1),
- "update": 0,
- "values": [Vector3(0, 0, 0)]
- }
- tracks/3/type = "value"
- tracks/3/imported = false
- tracks/3/enabled = true
- tracks/3/path = NodePath("Testers/MovingCPUParticles/CPUParticles3D:position")
- tracks/3/interp = 1
- tracks/3/loop_wrap = true
- tracks/3/keys = {
- "times": PackedFloat32Array(0),
- "transitions": PackedFloat32Array(1),
- "update": 0,
- "values": [Vector3(0, 0.5, 0)]
- }
- tracks/4/type = "value"
- tracks/4/imported = false
- tracks/4/enabled = true
- tracks/4/path = NodePath("Testers/MovingDecal/Decal:position")
- tracks/4/interp = 1
- tracks/4/loop_wrap = true
- tracks/4/keys = {
- "times": PackedFloat32Array(0),
- "transitions": PackedFloat32Array(1),
- "update": 0,
- "values": [Vector3(1, 1, 1)]
- }
- tracks/5/type = "value"
- tracks/5/imported = false
- tracks/5/enabled = true
- tracks/5/path = NodePath("Testers/MovingDecal/Decal:rotation")
- tracks/5/interp = 1
- tracks/5/loop_wrap = true
- tracks/5/keys = {
- "times": PackedFloat32Array(0),
- "transitions": PackedFloat32Array(1),
- "update": 0,
- "values": [Vector3(0.18405, -2.33886, 0.187249)]
- }
- tracks/6/type = "value"
- tracks/6/imported = false
- tracks/6/enabled = true
- tracks/6/path = NodePath("Testers/ScrollingUVAnimation/MeshInstance3D:surface_material_override/0:uv1_offset")
- tracks/6/interp = 1
- tracks/6/loop_wrap = true
- tracks/6/keys = {
- "times": PackedFloat32Array(0),
- "transitions": PackedFloat32Array(1),
- "update": 0,
- "values": [Vector3(0, 0, 0)]
- }
- tracks/7/type = "value"
- tracks/7/imported = false
- tracks/7/enabled = true
- tracks/7/path = NodePath("Testers/MovingGPUParticles/GPUParticles3D:position")
- tracks/7/interp = 1
- tracks/7/loop_wrap = true
- tracks/7/keys = {
- "times": PackedFloat32Array(0),
- "transitions": PackedFloat32Array(1),
- "update": 0,
- "values": [Vector3(0, 1.2, 0)]
- }
- [sub_resource type="Animation" id="12"]
- resource_name = "move"
- length = 4.0
- loop_mode = 1
- tracks/0/type = "value"
- tracks/0/imported = false
- tracks/0/enabled = true
- tracks/0/path = NodePath("Testers/MovingObject/MeshInstance3D:position")
- tracks/0/interp = 1
- tracks/0/loop_wrap = true
- tracks/0/keys = {
- "times": PackedFloat32Array(0, 2),
- "transitions": PackedFloat32Array(-2, -2),
- "update": 0,
- "values": [Vector3(0, 0.5, 0), Vector3(0, 2.5, 0)]
- }
- tracks/1/type = "value"
- tracks/1/imported = false
- tracks/1/enabled = true
- tracks/1/path = NodePath("Testers/RotatingObject/MeshInstance3D:rotation")
- tracks/1/interp = 1
- tracks/1/loop_wrap = true
- tracks/1/keys = {
- "times": PackedFloat32Array(0, 4),
- "transitions": PackedFloat32Array(1, 1),
- "update": 0,
- "values": [Vector3(0, 0, 0), Vector3(0, 18.8496, 0)]
- }
- tracks/2/type = "value"
- tracks/2/imported = false
- tracks/2/enabled = true
- tracks/2/path = NodePath("Testers/ScalingObject/MeshInstance3D:scale")
- tracks/2/interp = 1
- tracks/2/loop_wrap = true
- tracks/2/keys = {
- "times": PackedFloat32Array(0, 2),
- "transitions": PackedFloat32Array(1, 1),
- "update": 0,
- "values": [Vector3(0, 0, 0), Vector3(1, 1, 3)]
- }
- tracks/3/type = "value"
- tracks/3/imported = false
- tracks/3/enabled = true
- tracks/3/path = NodePath("Testers/MovingCPUParticles/CPUParticles3D:position")
- tracks/3/interp = 1
- tracks/3/loop_wrap = true
- tracks/3/keys = {
- "times": PackedFloat32Array(0, 2),
- "transitions": PackedFloat32Array(-2, -2),
- "update": 0,
- "values": [Vector3(0, 0.2, 0), Vector3(0, 2.2, 0)]
- }
- tracks/4/type = "value"
- tracks/4/imported = false
- tracks/4/enabled = true
- tracks/4/path = NodePath("Testers/MovingDecal/Decal:position")
- tracks/4/interp = 1
- tracks/4/loop_wrap = true
- tracks/4/keys = {
- "times": PackedFloat32Array(0, 2),
- "transitions": PackedFloat32Array(-2, -2),
- "update": 0,
- "values": [Vector3(1, 1, 1), Vector3(-1, 1, -1)]
- }
- tracks/5/type = "value"
- tracks/5/imported = false
- tracks/5/enabled = true
- tracks/5/path = NodePath("Testers/MovingDecal/Decal:rotation")
- tracks/5/interp = 1
- tracks/5/loop_wrap = true
- tracks/5/keys = {
- "times": PackedFloat32Array(0, 2),
- "transitions": PackedFloat32Array(-2, -2),
- "update": 0,
- "values": [Vector3(0, 0, 0), Vector3(0.18405, -2.33886, 0.187249)]
- }
- tracks/6/type = "value"
- tracks/6/imported = false
- tracks/6/enabled = true
- tracks/6/path = NodePath("Testers/ScrollingUVAnimation/MeshInstance3D:surface_material_override/0:uv1_offset")
- tracks/6/interp = 1
- tracks/6/loop_wrap = true
- tracks/6/keys = {
- "times": PackedFloat32Array(0, 4),
- "transitions": PackedFloat32Array(1, 1),
- "update": 0,
- "values": [Vector3(0, 0, 0), Vector3(3, 0, 0)]
- }
- tracks/7/type = "value"
- tracks/7/imported = false
- tracks/7/enabled = true
- tracks/7/path = NodePath("Testers/MovingGPUParticles/GPUParticles3D:position")
- tracks/7/interp = 1
- tracks/7/loop_wrap = true
- tracks/7/keys = {
- "times": PackedFloat32Array(0, 2),
- "transitions": PackedFloat32Array(-2, -2),
- "update": 0,
- "values": [Vector3(0, 1.2, 0), Vector3(0, 4.2, 0)]
- }
- [sub_resource type="AnimationLibrary" id="AnimationLibrary_ecfcr"]
- _data = {
- "RESET": SubResource("Animation_qdnt6"),
- "move": SubResource("12")
- }
- [sub_resource type="StandardMaterial3D" id="13"]
- diffuse_mode = 1
- albedo_texture = ExtResource("14")
- uv1_scale = Vector3(32, 32, 1)
- texture_filter = 5
- [sub_resource type="PlaneMesh" id="14"]
- material = SubResource("13")
- size = Vector2(128, 128)
- [sub_resource type="BoxMesh" id="BoxMesh_gwe28"]
- [sub_resource type="Gradient" id="Gradient_jyuoy"]
- offsets = PackedFloat32Array(0.1, 0.768293)
- [sub_resource type="FastNoiseLite" id="FastNoiseLite_kv21n"]
- frequency = 0.02
- fractal_type = 3
- fractal_octaves = 9
- fractal_gain = 0.9
- fractal_ping_pong_strength = -1.2
- [sub_resource type="NoiseTexture2D" id="NoiseTexture_bgiac"]
- seamless = true
- color_ramp = SubResource("Gradient_jyuoy")
- noise = SubResource("FastNoiseLite_kv21n")
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_x42ya"]
- albedo_color = Color(1.2, 1, 0.7, 1)
- albedo_texture = SubResource("NoiseTexture_bgiac")
- uv1_scale = Vector3(3, 2, 1)
- texture_filter = 5
- [sub_resource type="Gradient" id="Gradient_ylwhn"]
- offsets = PackedFloat32Array(0.378049, 0.408537, 0.603659, 1)
- colors = PackedColorArray(0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1)
- [sub_resource type="GradientTexture2D" id="GradientTexture2D_fmnt8"]
- gradient = SubResource("Gradient_ylwhn")
- width = 16
- height = 16
- fill = 2
- fill_from = Vector2(0.5, 0.5)
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_6yfdy"]
- specular_mode = 2
- albedo_color = Color(0.301961, 1, 0.6, 1)
- albedo_texture = SubResource("GradientTexture2D_fmnt8")
- uv1_scale = Vector3(3, 2, 1)
- texture_filter = 4
- [sub_resource type="PlaneMesh" id="PlaneMesh_nllvr"]
- size = Vector2(3.9, 3.9)
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_bjmm1"]
- albedo_color = Color(1, 0, 0, 1)
- [sub_resource type="Gradient" id="Gradient_e2xbk"]
- offsets = PackedFloat32Array(0.3, 0.5, 0.699, 0.7)
- colors = PackedColorArray(1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0)
- [sub_resource type="GradientTexture2D" id="GradientTexture2D_ufeca"]
- gradient = SubResource("Gradient_e2xbk")
- width = 128
- height = 128
- fill = 2
- fill_from = Vector2(0.5, 0.5)
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_qcf1j"]
- transparency = 1
- albedo_texture = SubResource("GradientTexture2D_ufeca")
- uv1_scale = Vector3(12, 8, 1)
- texture_filter = 5
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_xbqpl"]
- transparency = 2
- alpha_scissor_threshold = 0.5
- alpha_antialiasing_mode = 0
- albedo_texture = SubResource("GradientTexture2D_ufeca")
- uv1_scale = Vector3(12, 8, 1)
- texture_filter = 5
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_txrd8"]
- transparency = 2
- alpha_scissor_threshold = 0.5
- alpha_antialiasing_mode = 1
- alpha_antialiasing_edge = 0.3
- albedo_texture = SubResource("GradientTexture2D_ufeca")
- uv1_scale = Vector3(12, 8, 1)
- texture_filter = 5
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_xhqpm"]
- transparency = 2
- alpha_scissor_threshold = 0.5
- alpha_antialiasing_mode = 2
- alpha_antialiasing_edge = 0.3
- albedo_texture = SubResource("GradientTexture2D_ufeca")
- uv1_scale = Vector3(12, 8, 1)
- texture_filter = 5
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_mjkwh"]
- transparency = 3
- alpha_hash_scale = 1.0
- alpha_antialiasing_mode = 0
- albedo_texture = SubResource("GradientTexture2D_ufeca")
- uv1_scale = Vector3(12, 8, 1)
- texture_filter = 5
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_f4l4p"]
- transparency = 4
- albedo_texture = SubResource("GradientTexture2D_ufeca")
- uv1_scale = Vector3(12, 8, 1)
- texture_filter = 5
- [sub_resource type="SphereMesh" id="SphereMesh_kfkna"]
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rfedc"]
- transparency = 2
- alpha_scissor_threshold = 0.05
- alpha_antialiasing_mode = 0
- use_point_size = true
- point_size = 3.2
- [sub_resource type="Gradient" id="Gradient_3dg7h"]
- interpolation_mode = 2
- offsets = PackedFloat32Array(0, 0.94964)
- colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 0)
- [sub_resource type="GradientTexture2D" id="GradientTexture2D_42opb"]
- gradient = SubResource("Gradient_3dg7h")
- fill = 1
- fill_from = Vector2(0.5, 0.5)
- fill_to = Vector2(0.49, 0)
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_layy4"]
- transparency = 1
- shading_mode = 0
- vertex_color_use_as_albedo = true
- albedo_texture = SubResource("GradientTexture2D_42opb")
- billboard_mode = 3
- billboard_keep_scale = true
- particles_anim_h_frames = 1
- particles_anim_v_frames = 1
- particles_anim_loop = false
- [sub_resource type="QuadMesh" id="QuadMesh_imrxg"]
- material = SubResource("StandardMaterial3D_layy4")
- [sub_resource type="Curve" id="Curve_v0n7y"]
- _data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
- point_count = 2
- [sub_resource type="Gradient" id="Gradient_e7gyf"]
- offsets = PackedFloat32Array(0, 0.0946746, 0.5, 0.804734)
- colors = PackedColorArray(0, 0.14902, 1, 0, 0.0627836, 0.243372, 0.995875, 1, 0.568541, 1, 0.962647, 1, 1, 1, 1, 1)
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_r4xcu"]
- albedo_color = Color(0.521569, 1, 0.776471, 1)
- [sub_resource type="BoxMesh" id="BoxMesh_88317"]
- material = SubResource("StandardMaterial3D_r4xcu")
- size = Vector3(0.1, 0.1, 0.1)
- [sub_resource type="Curve" id="Curve_sutnd"]
- _data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
- point_count = 2
- [sub_resource type="ParticleProcessMaterial" id="ParticlesMaterial_ft0gs"]
- emission_shape = 6
- emission_ring_axis = Vector3(0, 1, 0)
- emission_ring_height = 0.0
- emission_ring_radius = 0.25
- emission_ring_inner_radius = 0.25
- radial_accel_min = 2.0
- radial_accel_max = 2.0
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_1dgwn"]
- albedo_color = Color(0.545098, 0.545098, 0.545098, 1)
- [sub_resource type="SphereMesh" id="SphereMesh_v4x6x"]
- material = SubResource("StandardMaterial3D_1dgwn")
- radius = 1.0
- height = 2.0
- [sub_resource type="CylinderMesh" id="CylinderMesh_5qy8k"]
- height = 1.0
- radial_segments = 6
- rings = 1
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_53dqy"]
- albedo_color = Color(0.946182, 1.18208, 1.2, 1)
- albedo_texture = SubResource("NoiseTexture_bgiac")
- uv1_scale = Vector3(2, 2, 1)
- texture_filter = 5
- [sub_resource type="Shader" id="Shader_rejcs"]
- code = "// NOTE: Shader automatically converted from Godot Engine 4.0.alpha's StandardMaterial3D.
- shader_type spatial;
- render_mode blend_mix,depth_draw_opaque,cull_back,diffuse_burley,specular_schlick_ggx;
- uniform vec4 albedo : source_color;
- uniform sampler2D texture_albedo : source_color,filter_linear_mipmap_anisotropic,repeat_enable;
- uniform float point_size : hint_range(0,128);
- uniform float roughness : hint_range(0,1);
- uniform sampler2D texture_metallic : hint_default_white,filter_linear_mipmap_anisotropic,repeat_enable;
- uniform vec4 metallic_texture_channel;
- uniform sampler2D texture_roughness : hint_roughness_r,filter_linear_mipmap_anisotropic,repeat_enable;
- uniform float specular;
- uniform float metallic;
- uniform vec3 uv1_scale;
- uniform vec3 uv1_offset;
- uniform vec3 uv2_scale;
- uniform vec3 uv2_offset;
- void vertex() {
- // Scroll the texture over time.
- UV = UV*uv1_scale.xy+uv1_offset.xy + vec2(mod(TIME, 1.0), 0.0);
- }
- void fragment() {
- vec2 base_uv = UV;
- vec4 albedo_tex = texture(texture_albedo,base_uv);
- ALBEDO = albedo.rgb * albedo_tex.rgb;
- float metallic_tex = dot(texture(texture_metallic,base_uv),metallic_texture_channel);
- METALLIC = metallic_tex * metallic;
- vec4 roughness_texture_channel = vec4(1.0,0.0,0.0,0.0);
- float roughness_tex = dot(texture(texture_roughness,base_uv),roughness_texture_channel);
- ROUGHNESS = roughness_tex * roughness;
- SPECULAR = specular;
- }
- "
- [sub_resource type="ShaderMaterial" id="ShaderMaterial_ltvd2"]
- render_priority = 0
- shader = SubResource("Shader_rejcs")
- shader_parameter/albedo = Color(1.2, 0.915333, 0.997134, 1)
- shader_parameter/point_size = 1.0
- shader_parameter/roughness = 1.0
- shader_parameter/metallic_texture_channel = null
- shader_parameter/specular = 0.5
- shader_parameter/metallic = 0.0
- shader_parameter/uv1_scale = Vector3(2, 2, 1)
- shader_parameter/uv1_offset = Vector3(0, 0, 0)
- shader_parameter/uv2_scale = Vector3(1, 1, 1)
- shader_parameter/uv2_offset = Vector3(0, 0, 0)
- shader_parameter/texture_albedo = SubResource("NoiseTexture_bgiac")
- [sub_resource type="CylinderMesh" id="CylinderMesh_oopii"]
- height = 1.0
- radial_segments = 18
- rings = 1
- [sub_resource type="Shader" id="Shader_ovufm"]
- code = "// NOTE: Shader automatically converted from Godot Engine 4.0.alpha's StandardMaterial3D.
- shader_type spatial;
- render_mode blend_mix,depth_draw_opaque,cull_back,diffuse_burley,specular_schlick_ggx;
- uniform vec4 albedo : source_color;
- uniform sampler2D texture_albedo : source_color,filter_linear_mipmap_anisotropic,repeat_enable;
- uniform float point_size : hint_range(0,128);
- uniform float roughness : hint_range(0,1);
- uniform sampler2D texture_metallic : hint_default_white,filter_linear_mipmap_anisotropic,repeat_enable;
- uniform vec4 metallic_texture_channel;
- uniform sampler2D texture_roughness : hint_roughness_r,filter_linear_mipmap_anisotropic,repeat_enable;
- uniform float specular;
- uniform float metallic;
- uniform vec3 uv1_scale;
- uniform vec3 uv1_offset;
- uniform vec3 uv2_scale;
- uniform vec3 uv2_offset;
- float rand(vec2 co){
- return fract(sin(dot(co.xy, vec2(12.9898, 78.233))) * 43758.5453);
- }
- void vertex() {
- // Move vertices randomly over time.
- VERTEX.y += 0.25 + sin(TIME * 2.0) * rand(vec2(VERTEX.xz)) * 0.5;
- }
- void fragment() {
- vec2 base_uv = UV;
- vec4 albedo_tex = texture(texture_albedo,base_uv);
- ALBEDO = albedo.rgb * albedo_tex.rgb;
- float metallic_tex = dot(texture(texture_metallic,base_uv),metallic_texture_channel);
- METALLIC = metallic_tex * metallic;
- vec4 roughness_texture_channel = vec4(1.0,0.0,0.0,0.0);
- float roughness_tex = dot(texture(texture_roughness,base_uv),roughness_texture_channel);
- ROUGHNESS = roughness_tex * roughness;
- SPECULAR = specular;
- }
- "
- [sub_resource type="ShaderMaterial" id="ShaderMaterial_fbaw5"]
- render_priority = 0
- shader = SubResource("Shader_ovufm")
- shader_parameter/albedo = Color(1.2, 1.16365, 0.85123, 1)
- shader_parameter/point_size = 1.0
- shader_parameter/roughness = 1.0
- shader_parameter/metallic_texture_channel = null
- shader_parameter/specular = 0.5
- shader_parameter/metallic = 0.0
- shader_parameter/uv1_scale = Vector3(2, 2, 1)
- shader_parameter/uv1_offset = Vector3(0, 0, 0)
- shader_parameter/uv2_scale = Vector3(1, 1, 1)
- shader_parameter/uv2_offset = Vector3(0, 0, 0)
- shader_parameter/texture_albedo = SubResource("NoiseTexture_bgiac")
- [sub_resource type="Gradient" id="Gradient_ehij4"]
- offsets = PackedFloat32Array(0, 0.333, 0.667, 1)
- colors = PackedColorArray(1, 0.17, 0.17, 1, 1, 0.816, 0.08, 1, 0.644, 1, 0.11, 1, 0.14, 0.885333, 1, 1)
- [node name="AntiAliasingTestScene" type="WorldEnvironment"]
- environment = SubResource("11")
- script = ExtResource("18")
- [node name="AnimationPlayer" type="AnimationPlayer" parent="."]
- libraries = {
- "": SubResource("AnimationLibrary_ecfcr")
- }
- autoplay = "move"
- [node name="Plane" type="MeshInstance3D" parent="."]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -38)
- layers = 2
- mesh = SubResource("14")
- [node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
- transform = Transform3D(0.909487, -0.23874, 0.340349, 0, 0.818672, 0.574262, -0.415733, -0.522284, 0.744571, 3.9506, 3.39961, 3.54442)
- shadow_enabled = true
- shadow_bias = 0.03
- shadow_normal_bias = 1.5
- shadow_blur = 1.5
- directional_shadow_mode = 0
- directional_shadow_fade_start = 1.0
- directional_shadow_max_distance = 25.0
- [node name="CameraHolder" type="Node3D" parent="."]
- transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 0.125, 0)
- [node name="RotationX" type="Node3D" parent="CameraHolder"]
- [node name="Camera3D" type="Camera3D" parent="CameraHolder/RotationX"]
- fov = 70.0
- [node name="Testers" type="Node3D" parent="."]
- [node name="StaticObject" type="Node3D" parent="Testers"]
- [node name="MeshInstance3D" type="MeshInstance3D" parent="Testers/StaticObject"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, 0.5, 0)
- mesh = SubResource("BoxMesh_gwe28")
- surface_material_override/0 = SubResource("StandardMaterial3D_x42ya")
- [node name="MeshInstance3D2" type="MeshInstance3D" parent="Testers/StaticObject"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 0.5, 0)
- mesh = SubResource("BoxMesh_gwe28")
- surface_material_override/0 = SubResource("StandardMaterial3D_6yfdy")
- [node name="ThinLines" parent="Testers" instance=ExtResource("3_5ehjl")]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -4)
- [node name="Plane" type="MeshInstance3D" parent="Testers/ThinLines"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.002, 0)
- mesh = SubResource("PlaneMesh_nllvr")
- skeleton = NodePath("../../TransparencyAlphaBlend")
- surface_material_override/0 = SubResource("StandardMaterial3D_bjmm1")
- [node name="TransparencyAlphaBlend" type="Node3D" parent="Testers"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -8)
- [node name="MeshInstance3D3" type="MeshInstance3D" parent="Testers/TransparencyAlphaBlend"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.501, 0)
- mesh = SubResource("BoxMesh_gwe28")
- surface_material_override/0 = SubResource("StandardMaterial3D_qcf1j")
- [node name="Plane" type="MeshInstance3D" parent="Testers/TransparencyAlphaBlend"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.002, 0)
- mesh = SubResource("PlaneMesh_nllvr")
- surface_material_override/0 = SubResource("StandardMaterial3D_bjmm1")
- [node name="TransparencyAlphaScissor" type="Node3D" parent="Testers"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -12)
- [node name="MeshInstance3D3" type="MeshInstance3D" parent="Testers/TransparencyAlphaScissor"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.501, 0)
- mesh = SubResource("BoxMesh_gwe28")
- surface_material_override/0 = SubResource("StandardMaterial3D_xbqpl")
- [node name="Plane2" type="MeshInstance3D" parent="Testers/TransparencyAlphaScissor"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.002, 0)
- mesh = SubResource("PlaneMesh_nllvr")
- skeleton = NodePath("../../TransparencyAlphaBlend")
- surface_material_override/0 = SubResource("StandardMaterial3D_bjmm1")
- [node name="TransparencyAlphaScissorAntialiasingBlend" type="Node3D" parent="Testers"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -16)
- [node name="MeshInstance3D3" type="MeshInstance3D" parent="Testers/TransparencyAlphaScissorAntialiasingBlend"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.501, 0)
- mesh = SubResource("BoxMesh_gwe28")
- surface_material_override/0 = SubResource("StandardMaterial3D_txrd8")
- [node name="Plane3" type="MeshInstance3D" parent="Testers/TransparencyAlphaScissorAntialiasingBlend"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.002, 0)
- mesh = SubResource("PlaneMesh_nllvr")
- skeleton = NodePath("../../TransparencyAlphaBlend")
- surface_material_override/0 = SubResource("StandardMaterial3D_bjmm1")
- [node name="TransparencyAlphaScissorAntialiasingClip" type="Node3D" parent="Testers"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -20)
- [node name="MeshInstance3D3" type="MeshInstance3D" parent="Testers/TransparencyAlphaScissorAntialiasingClip"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.501, 0)
- mesh = SubResource("BoxMesh_gwe28")
- surface_material_override/0 = SubResource("StandardMaterial3D_xhqpm")
- [node name="Plane4" type="MeshInstance3D" parent="Testers/TransparencyAlphaScissorAntialiasingClip"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.002, 0)
- mesh = SubResource("PlaneMesh_nllvr")
- skeleton = NodePath("../../TransparencyAlphaBlend")
- surface_material_override/0 = SubResource("StandardMaterial3D_bjmm1")
- [node name="TransparencyAlphaHash" type="Node3D" parent="Testers"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -24)
- [node name="MeshInstance3D3" type="MeshInstance3D" parent="Testers/TransparencyAlphaHash"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.501, 0)
- mesh = SubResource("BoxMesh_gwe28")
- surface_material_override/0 = SubResource("StandardMaterial3D_mjkwh")
- [node name="Plane5" type="MeshInstance3D" parent="Testers/TransparencyAlphaHash"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.002, 0)
- mesh = SubResource("PlaneMesh_nllvr")
- skeleton = NodePath("../../TransparencyAlphaBlend")
- surface_material_override/0 = SubResource("StandardMaterial3D_bjmm1")
- [node name="TransparencyDepthPrepass" type="Node3D" parent="Testers"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -28)
- [node name="MeshInstance3D3" type="MeshInstance3D" parent="Testers/TransparencyDepthPrepass"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.501, 0)
- mesh = SubResource("BoxMesh_gwe28")
- surface_material_override/0 = SubResource("StandardMaterial3D_f4l4p")
- [node name="Plane6" type="MeshInstance3D" parent="Testers/TransparencyDepthPrepass"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.002, 0)
- mesh = SubResource("PlaneMesh_nllvr")
- skeleton = NodePath("../../TransparencyAlphaBlend")
- surface_material_override/0 = SubResource("StandardMaterial3D_bjmm1")
- [node name="ComplexObject" parent="Testers" instance=ExtResource("3_fa2bl")]
- transform = Transform3D(0.2, 0, 0, 0, 0.2, 0, 0, 0, 0.2, 0, 0.35, -32)
- [node name="PointRendering" type="Node3D" parent="Testers"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -36)
- [node name="MeshInstance3D" type="MeshInstance3D" parent="Testers/PointRendering"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
- mesh = SubResource("SphereMesh_kfkna")
- surface_material_override/0 = SubResource("StandardMaterial3D_rfedc")
- [node name="MovingObject" type="Node3D" parent="Testers"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -40)
- [node name="MeshInstance3D" type="MeshInstance3D" parent="Testers/MovingObject"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
- mesh = SubResource("BoxMesh_gwe28")
- surface_material_override/0 = SubResource("StandardMaterial3D_x42ya")
- [node name="RotatingObject" type="Node3D" parent="Testers"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -44)
- [node name="MeshInstance3D" type="MeshInstance3D" parent="Testers/RotatingObject"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
- mesh = SubResource("BoxMesh_gwe28")
- surface_material_override/0 = SubResource("StandardMaterial3D_x42ya")
- [node name="ScalingObject" type="Node3D" parent="Testers"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -48)
- [node name="MeshInstance3D" type="MeshInstance3D" parent="Testers/ScalingObject"]
- transform = Transform3D(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.5, 0)
- mesh = SubResource("BoxMesh_gwe28")
- surface_material_override/0 = SubResource("StandardMaterial3D_x42ya")
- [node name="StaticCPUParticles" type="Node3D" parent="Testers"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -52)
- [node name="CPUParticles3D" type="CPUParticles3D" parent="Testers/StaticCPUParticles"]
- amount = 100
- draw_order = 1
- mesh = SubResource("QuadMesh_imrxg")
- direction = Vector3(0, 1, 0)
- spread = 10.0
- initial_velocity_min = 5.0
- initial_velocity_max = 5.0
- scale_amount_min = 0.25
- scale_amount_max = 0.25
- scale_amount_curve = SubResource("Curve_v0n7y")
- color_ramp = SubResource("Gradient_e7gyf")
- [node name="CPUParticles3D2" type="CPUParticles3D" parent="Testers/StaticCPUParticles/CPUParticles3D"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0.2, 0)
- amount = 20
- mesh = SubResource("BoxMesh_88317")
- spread = 180.0
- gravity = Vector3(0, 0, 0)
- initial_velocity_min = 2.5
- initial_velocity_max = 2.5
- radial_accel_min = -5.0
- radial_accel_max = -5.0
- scale_amount_min = 0.25
- scale_amount_max = 2.5
- scale_amount_curve = SubResource("Curve_sutnd")
- [node name="MovingCPUParticles" type="Node3D" parent="Testers"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -56)
- [node name="CPUParticles3D" type="CPUParticles3D" parent="Testers/MovingCPUParticles"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
- amount = 100
- lifetime = 0.5
- draw_order = 1
- mesh = SubResource("QuadMesh_imrxg")
- direction = Vector3(0, 1, 0)
- spread = 10.0
- initial_velocity_min = 2.0
- initial_velocity_max = 2.0
- tangential_accel_min = 6.0
- tangential_accel_max = 40.0
- scale_amount_min = 0.25
- scale_amount_max = 0.25
- scale_amount_curve = SubResource("Curve_v0n7y")
- color = Color(6, 2, 6, 1)
- color_ramp = SubResource("Gradient_e7gyf")
- [node name="CPUParticles3D" type="CPUParticles3D" parent="Testers/MovingCPUParticles/CPUParticles3D"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, 0)
- amount = 20
- mesh = SubResource("BoxMesh_88317")
- spread = 180.0
- gravity = Vector3(0, 0, 0)
- initial_velocity_min = 2.5
- initial_velocity_max = 2.5
- scale_amount_curve = SubResource("Curve_sutnd")
- [node name="StaticGPUParticles" type="Node3D" parent="Testers"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -60)
- [node name="GPUParticles3D" type="GPUParticles3D" parent="Testers/StaticGPUParticles"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.2, 0)
- amount = 50
- lifetime = 2.0
- fixed_fps = 0
- collision_base_size = 0.05
- visibility_aabb = AABB(-1.63511, -1.25001, -1.31512, 3.0892, 2.15487, 2.91765)
- process_material = SubResource("ParticlesMaterial_ft0gs")
- draw_pass_1 = SubResource("BoxMesh_88317")
- [node name="GPUParticlesCollisionBox3D" type="GPUParticlesCollisionBox3D" parent="Testers/StaticGPUParticles"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0)
- size = Vector3(4, 2, 4)
- [node name="MovingGPUParticles" type="Node3D" parent="Testers"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -64)
- [node name="GPUParticles3D" type="GPUParticles3D" parent="Testers/MovingGPUParticles"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.2, 0)
- extra_cull_margin = 3.0
- amount = 50
- lifetime = 2.0
- fixed_fps = 0
- collision_base_size = 0.05
- visibility_aabb = AABB(-1.50087, -1.25001, -1.4745, 3.19423, 2.13905, 3.02308)
- process_material = SubResource("ParticlesMaterial_ft0gs")
- draw_pass_1 = SubResource("BoxMesh_88317")
- [node name="GPUParticlesCollisionBox3D2" type="GPUParticlesCollisionBox3D" parent="Testers/MovingGPUParticles"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0)
- size = Vector3(4, 2, 4)
- [node name="MovingDecal" type="Node3D" parent="Testers"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -68)
- [node name="MeshInstance3D" type="MeshInstance3D" parent="Testers/MovingDecal"]
- mesh = SubResource("SphereMesh_v4x6x")
- [node name="Decal" type="Decal" parent="Testers/MovingDecal"]
- transform = Transform3D(-0.707104, -1.01328e-06, -0.707109, 0.183013, 0.965926, -0.183013, 0.683015, -0.258819, -0.68301, 1, 1, 1)
- texture_albedo = ExtResource("3_2nulf")
- texture_normal = ExtResource("4_fdfpv")
- [node name="ScrollingUVAnimation" type="Node3D" parent="Testers"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -72)
- [node name="MeshInstance3D" type="MeshInstance3D" parent="Testers/ScrollingUVAnimation"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
- mesh = SubResource("CylinderMesh_5qy8k")
- surface_material_override/0 = SubResource("StandardMaterial3D_53dqy")
- [node name="ScrollingUVCustomShader" type="Node3D" parent="Testers"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -76)
- [node name="MeshInstance3D" type="MeshInstance3D" parent="Testers/ScrollingUVCustomShader"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
- mesh = SubResource("CylinderMesh_5qy8k")
- surface_material_override/0 = SubResource("ShaderMaterial_ltvd2")
- [node name="CustomShaderVertexMovement" type="Node3D" parent="Testers"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -80)
- [node name="MeshInstance3D" type="MeshInstance3D" parent="Testers/CustomShaderVertexMovement"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
- extra_cull_margin = 1.0
- mesh = SubResource("CylinderMesh_oopii")
- surface_material_override/0 = SubResource("ShaderMaterial_fbaw5")
- [node name="TestName" type="Label" parent="."]
- anchors_preset = 7
- anchor_left = 0.5
- anchor_top = 1.0
- anchor_right = 0.5
- anchor_bottom = 1.0
- offset_left = -192.0
- offset_top = -58.0
- offset_right = 192.0
- offset_bottom = -24.0
- theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
- theme_override_constants/outline_size = 5
- theme_override_font_sizes/font_size = 24
- horizontal_alignment = 1
- [node name="Previous" type="Button" parent="."]
- anchors_preset = 2
- anchor_top = 1.0
- anchor_bottom = 1.0
- offset_left = 24.0
- offset_top = -55.0
- offset_right = 135.0
- offset_bottom = -24.0
- text = "« Previous"
- [node name="Next" type="Button" parent="."]
- anchors_preset = 3
- anchor_left = 1.0
- anchor_top = 1.0
- anchor_right = 1.0
- anchor_bottom = 1.0
- offset_left = -107.0
- offset_top = -55.0
- offset_right = -24.0
- offset_bottom = -24.0
- text = "Next »"
- [node name="Antialiasing" type="VBoxContainer" parent="."]
- offset_left = 24.0
- offset_top = 24.0
- offset_right = 394.0
- offset_bottom = 340.0
- theme_override_constants/separation = 10
- [node name="MSAAContainer" type="HBoxContainer" parent="Antialiasing"]
- layout_mode = 2
- [node name="Label" type="Label" parent="Antialiasing/MSAAContainer"]
- custom_minimum_size = Vector2(120, 2.08165e-12)
- layout_mode = 2
- size_flags_horizontal = 3
- theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
- theme_override_constants/outline_size = 4
- text = "MSAA
- "
- vertical_alignment = 1
- [node name="MSAA" type="OptionButton" parent="Antialiasing/MSAAContainer"]
- custom_minimum_size = Vector2(235, 2.08165e-12)
- layout_mode = 2
- item_count = 4
- selected = 0
- popup/item_0/text = "Disabled (Fastest)"
- popup/item_0/id = 0
- popup/item_1/text = "2× (Average)"
- popup/item_1/id = 1
- popup/item_2/text = "4× (Slow)"
- popup/item_2/id = 2
- popup/item_3/text = "8× (Slower)"
- popup/item_3/id = 3
- [node name="FXAAContainer" type="HBoxContainer" parent="Antialiasing"]
- layout_mode = 2
- [node name="Label" type="Label" parent="Antialiasing/FXAAContainer"]
- custom_minimum_size = Vector2(120, 2.08165e-12)
- layout_mode = 2
- size_flags_horizontal = 3
- theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
- theme_override_constants/outline_size = 4
- text = "FXAA
- "
- vertical_alignment = 1
- [node name="FXAA" type="OptionButton" parent="Antialiasing/FXAAContainer"]
- custom_minimum_size = Vector2(235, 2.08165e-12)
- layout_mode = 2
- item_count = 2
- selected = 0
- popup/item_0/text = "Disabled (Fastest)"
- popup/item_0/id = 0
- popup/item_1/text = "Enabled (Fast)"
- popup/item_1/id = 1
- [node name="TAAContainer" type="HBoxContainer" parent="Antialiasing"]
- layout_mode = 2
- [node name="Label" type="Label" parent="Antialiasing/TAAContainer"]
- custom_minimum_size = Vector2(120, 2.08165e-12)
- layout_mode = 2
- size_flags_horizontal = 3
- theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
- theme_override_constants/outline_size = 4
- text = "TAA
- "
- vertical_alignment = 1
- [node name="TAA" type="OptionButton" parent="Antialiasing/TAAContainer"]
- custom_minimum_size = Vector2(235, 2.08165e-12)
- layout_mode = 2
- item_count = 2
- selected = 0
- popup/item_0/text = "Disabled (Fastest)"
- popup/item_0/id = 0
- popup/item_1/text = "Enabled (Average)"
- popup/item_1/id = 1
- [node name="VSyncContainer" type="HBoxContainer" parent="Antialiasing"]
- layout_mode = 2
- [node name="Label" type="Label" parent="Antialiasing/VSyncContainer"]
- custom_minimum_size = Vector2(120, 2.08165e-12)
- layout_mode = 2
- size_flags_horizontal = 3
- theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
- theme_override_constants/outline_size = 4
- text = "V-Sync"
- vertical_alignment = 1
- [node name="VSync" type="OptionButton" parent="Antialiasing/VSyncContainer"]
- custom_minimum_size = Vector2(235, 2.08165e-12)
- layout_mode = 2
- item_count = 3
- selected = 0
- popup/item_0/text = "Disabled"
- popup/item_0/id = 0
- popup/item_1/text = "Adaptive"
- popup/item_1/id = 1
- popup/item_2/text = "Enabled"
- popup/item_2/id = 2
- [node name="LimitFPSContainer" type="HBoxContainer" parent="Antialiasing"]
- layout_mode = 2
- theme_override_constants/separation = 15
- [node name="Label" type="Label" parent="Antialiasing/LimitFPSContainer"]
- custom_minimum_size = Vector2(120, 2.08165e-12)
- layout_mode = 2
- size_flags_horizontal = 3
- theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
- theme_override_constants/outline_size = 4
- text = "Limit FPS"
- vertical_alignment = 1
- [node name="LimitFPSScale" type="HSlider" parent="Antialiasing/LimitFPSContainer"]
- layout_mode = 2
- size_flags_horizontal = 3
- size_flags_vertical = 4
- size_flags_stretch_ratio = 3.0
- max_value = 300.0
- step = 10.0
- [node name="Value" type="Label" parent="Antialiasing/LimitFPSContainer"]
- layout_mode = 2
- size_flags_horizontal = 3
- theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
- theme_override_constants/outline_size = 4
- text = "0"
- horizontal_alignment = 1
- vertical_alignment = 1
- [node name="RenderScaleContainer" type="HBoxContainer" parent="Antialiasing"]
- layout_mode = 2
- theme_override_constants/separation = 15
- [node name="Label" type="Label" parent="Antialiasing/RenderScaleContainer"]
- custom_minimum_size = Vector2(120, 2.08165e-12)
- layout_mode = 2
- size_flags_horizontal = 3
- theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
- theme_override_constants/outline_size = 4
- text = "Render Scale"
- vertical_alignment = 1
- [node name="RenderScale" type="HSlider" parent="Antialiasing/RenderScaleContainer"]
- layout_mode = 2
- size_flags_horizontal = 3
- size_flags_vertical = 4
- size_flags_stretch_ratio = 3.0
- min_value = 0.25
- max_value = 2.0
- step = 0.01
- value = 1.0
- [node name="Value" type="Label" parent="Antialiasing/RenderScaleContainer"]
- layout_mode = 2
- size_flags_horizontal = 3
- theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
- theme_override_constants/outline_size = 4
- text = "100%"
- horizontal_alignment = 1
- vertical_alignment = 1
- [node name="FidelityFXFSR" type="CheckButton" parent="Antialiasing"]
- visible = false
- layout_mode = 2
- theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
- theme_override_constants/outline_size = 4
- text = "AMD FidelityFX Super Resolution 1.0"
- [node name="FSRSharpness" type="OptionButton" parent="Antialiasing"]
- visible = false
- layout_mode = 2
- item_count = 5
- selected = 3
- popup/item_0/text = "No FSR Sharpness"
- popup/item_0/id = 0
- popup/item_1/text = "Low FSR Sharpness"
- popup/item_1/id = 1
- popup/item_2/text = "Medium FSR Sharpness"
- popup/item_2/id = 2
- popup/item_3/text = "High FSR Sharpness"
- popup/item_3/id = 3
- popup/item_4/text = "Highest FSR Sharpness"
- popup/item_4/id = 4
- [node name="ViewportResolution" type="Label" parent="."]
- anchors_preset = 1
- anchor_left = 1.0
- anchor_right = 1.0
- offset_left = -344.0
- offset_top = 16.0
- offset_right = -16.0
- offset_bottom = 42.0
- grow_horizontal = 0
- theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
- theme_override_constants/outline_size = 4
- text = "Viewport resolution: 1152×648"
- horizontal_alignment = 2
- [node name="FPSLabel" type="Label" parent="."]
- anchors_preset = 1
- anchor_left = 1.0
- anchor_right = 1.0
- offset_left = -344.0
- offset_top = 48.0
- offset_right = -16.0
- offset_bottom = 74.0
- grow_horizontal = 0
- theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
- theme_override_constants/outline_size = 4
- text = "FPS: 0"
- horizontal_alignment = 2
- metadata/gradient = SubResource("Gradient_ehij4")
- [connection signal="pressed" from="Previous" to="." method="_on_previous_pressed"]
- [connection signal="pressed" from="Next" to="." method="_on_next_pressed"]
- [connection signal="item_selected" from="Antialiasing/MSAAContainer/MSAA" to="." method="_on_msaa_item_selected"]
- [connection signal="item_selected" from="Antialiasing/FXAAContainer/FXAA" to="." method="_on_fxaa_item_selected"]
- [connection signal="item_selected" from="Antialiasing/TAAContainer/TAA" to="." method="_on_taa_item_selected"]
- [connection signal="item_selected" from="Antialiasing/VSyncContainer/VSync" to="." method="_on_v_sync_item_selected"]
- [connection signal="value_changed" from="Antialiasing/LimitFPSContainer/LimitFPSScale" to="." method="_on_limit_fps_scale_value_changed"]
- [connection signal="value_changed" from="Antialiasing/RenderScaleContainer/RenderScale" to="." method="_on_render_scale_value_changed"]
- [connection signal="toggled" from="Antialiasing/FidelityFXFSR" to="." method="_on_amd_fidelityfx_fsr1_toggled"]
- [connection signal="item_selected" from="Antialiasing/FSRSharpness" to="." method="_on_fsr_sharpness_item_selected"]
|