1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108 |
- [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"]
|