new outline shader
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=18 format=3 uid="uid://wr21rggawosn"]
|
||||
[gd_scene load_steps=21 format=3 uid="uid://wr21rggawosn"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://c61rr6to3q566" path="res://Scripts/build_object.gd" id="1_c0yqx"]
|
||||
[ext_resource type="ArrayMesh" uid="uid://cvgyv0qygl2g2" path="res://Blends/Battery/Battery.obj" id="1_lt2ya"]
|
||||
@@ -9,13 +9,20 @@
|
||||
[ext_resource type="Shader" uid="uid://csc12sk3jp67" path="res://Shaders/battery_handle.gdshader" id="5_6tv3k"]
|
||||
[ext_resource type="Shader" uid="uid://xn2eixgmefs8" path="res://Shaders/battery_glass.gdshader" id="6_b5dta"]
|
||||
[ext_resource type="Shader" uid="uid://4m7bv5x2pfnr" path="res://Shaders/Fuse.gdshader" id="7_hr37j"]
|
||||
[ext_resource type="Shader" uid="uid://c08eg1piwoy3t" path="res://Shaders/outline.gdshader" id="10_pigwg"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_6tv3k"]
|
||||
render_priority = 0
|
||||
shader = ExtResource("2_pigwg")
|
||||
shader_parameter/color = Vector3(0, 0, 0)
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_pigwg"]
|
||||
render_priority = 0
|
||||
shader = ExtResource("10_pigwg")
|
||||
shader_parameter/is_active = false
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_byy4f"]
|
||||
next_pass = SubResource("ShaderMaterial_pigwg")
|
||||
albedo_texture = ExtResource("2_teewy")
|
||||
metallic = 1.0
|
||||
roughness = 0.5
|
||||
@@ -39,6 +46,7 @@ shader_parameter/normal = ExtResource("3_c0yqx")
|
||||
[sub_resource type="FastNoiseLite" id="FastNoiseLite_8a881"]
|
||||
|
||||
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_fdnlq"]
|
||||
seamless = true
|
||||
noise = SubResource("FastNoiseLite_8a881")
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_hnq8j"]
|
||||
@@ -46,6 +54,9 @@ render_priority = 0
|
||||
shader = ExtResource("7_hr37j")
|
||||
shader_parameter/noise = SubResource("NoiseTexture2D_fdnlq")
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_pigwg"]
|
||||
size = Vector3(6.92554, 2.55286, 2.97417)
|
||||
|
||||
[node name="Battery" type="Node3D" node_paths=PackedStringArray("meshInstance")]
|
||||
script = ExtResource("1_c0yqx")
|
||||
meshInstance = NodePath("Battery")
|
||||
@@ -63,3 +74,9 @@ surface_material_override/5 = SubResource("StandardMaterial3D_byy4f")
|
||||
surface_material_override/6 = SubResource("ShaderMaterial_wr5rf")
|
||||
surface_material_override/7 = SubResource("ShaderMaterial_hnq8j")
|
||||
surface_material_override/8 = SubResource("StandardMaterial3D_byy4f")
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="."]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.053833, -0.776428, 0.0276413)
|
||||
shape = SubResource("BoxShape3D_pigwg")
|
||||
|
||||
Reference in New Issue
Block a user