Massive work on level, UI, sound, and player functionality, small progress on netcode. Renamed project to Net Gunner.
This commit is contained in:
8
visuals/materials/health gradient.tres
Normal file
8
visuals/materials/health gradient.tres
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="GradientTexture1D" load_steps=2 format=3 uid="uid://urh11huy67cs"]
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_gqh23"]
|
||||
offsets = PackedFloat32Array(0, 0.2012987, 0.7564935, 1)
|
||||
colors = PackedColorArray(0.733002, 2.7554854e-06, 6.738305e-07, 1, 1, 0.052388567, 0, 1, 1, 0.8019481, 0, 1, 1, 1, 0, 1)
|
||||
|
||||
[resource]
|
||||
gradient = SubResource("Gradient_gqh23")
|
||||
14
visuals/materials/highlighter.tres
Normal file
14
visuals/materials/highlighter.tres
Normal file
@@ -0,0 +1,14 @@
|
||||
[gd_resource type="StandardMaterial3D" format=3 uid="uid://bsbw2oimdr0ps"]
|
||||
|
||||
[resource]
|
||||
transparency = 1
|
||||
blend_mode = 1
|
||||
shading_mode = 0
|
||||
diffuse_mode = 1
|
||||
specular_mode = 2
|
||||
disable_ambient_light = true
|
||||
disable_fog = true
|
||||
disable_specular_occlusion = true
|
||||
albedo_color = Color(1.4439226e-07, 0.48261642, 0.48261642, 0.41568628)
|
||||
texture_filter = 0
|
||||
disable_receive_shadows = true
|
||||
9
visuals/materials/lowres-text.tres
Normal file
9
visuals/materials/lowres-text.tres
Normal file
@@ -0,0 +1,9 @@
|
||||
[gd_resource type="ShaderMaterial" load_steps=2 format=3 uid="uid://cysw8uwdmtv1v"]
|
||||
|
||||
[ext_resource type="Shader" uid="uid://dhtpmyruoq46j" path="res://visuals/shaders/lowres-text.gdshader" id="1_rvfg2"]
|
||||
|
||||
[resource]
|
||||
shader = ExtResource("1_rvfg2")
|
||||
shader_parameter/tracks = 200.0
|
||||
shader_parameter/vshift = -0.125
|
||||
shader_parameter/max_offset = 0.056
|
||||
52
visuals/materials/tv_static_image.tres
Normal file
52
visuals/materials/tv_static_image.tres
Normal file
@@ -0,0 +1,52 @@
|
||||
[gd_resource type="ShaderMaterial" load_steps=3 format=3 uid="uid://c88aptbv2lgbu"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bsxod2wcjw5ik" path="res://visuals/textures/new_noise_texture_2d.tres" id="1_seqd6"]
|
||||
|
||||
[sub_resource type="Shader" id="Shader_ytjmb"]
|
||||
resource_local_to_scene = true
|
||||
code = "shader_type canvas_item;
|
||||
|
||||
uniform sampler2D noise;
|
||||
varying vec4 modulate;
|
||||
uniform float threshold : hint_range(0,0.5)= .5;
|
||||
uniform float strength : hint_range(-0.5,0.5) = 0;
|
||||
float random (vec2 uv) {
|
||||
return fract(sin(dot(uv.xy,
|
||||
vec2(12.9898,78.233))) * 43758.5453123);
|
||||
}
|
||||
|
||||
void vertex() {
|
||||
// Called for every vertex the material is visible on.
|
||||
modulate = COLOR;
|
||||
}
|
||||
|
||||
void fragment() {
|
||||
// Called for every pixel the material is visible on.
|
||||
vec2 uv = UV;
|
||||
vec2 rv = vec2(mod(TIME / 3.5, 1.0), uv.y);
|
||||
vec4 val = texture(noise, rv);
|
||||
|
||||
uv.x += .002 * (val.x - 0.5) * 2.0;
|
||||
float extrema = abs(val.x - 0.5);
|
||||
//if(extrema > threshold){
|
||||
//uv.x += sign(val.x - 0.5) * mix(0,strength, (extrema) / (.5 - threshold));
|
||||
//}
|
||||
if(extrema > threshold){
|
||||
uv.x -= strength * (val.x - 0.5) * 2.0;
|
||||
}
|
||||
vec4 col = texture(TEXTURE, uv) * modulate;
|
||||
COLOR = col; //* COLOR;
|
||||
//COLOR = val;
|
||||
}
|
||||
|
||||
//void light() {
|
||||
// // Called for every pixel for every light affecting the CanvasItem.
|
||||
// // Uncomment to replace the default light processing function with this one.
|
||||
//}
|
||||
"
|
||||
|
||||
[resource]
|
||||
shader = SubResource("Shader_ytjmb")
|
||||
shader_parameter/noise = ExtResource("1_seqd6")
|
||||
shader_parameter/threshold = 0.1150000054625
|
||||
shader_parameter/strength = 0.09000002802499996
|
||||
Reference in New Issue
Block a user