Modem now looks much closer to the one from the original series.

This commit is contained in:
2026-03-26 02:47:37 -04:00
parent e485d0d992
commit 5f9067939d
23 changed files with 1719 additions and 212 deletions
+58
View File
@@ -0,0 +1,58 @@
Shader "Carmen/Light Strip"
{
Properties
{
_MainTex ("_MainTex", 2D) = "white" {}
_Color ("Color", Color) = (1,1,1,1)
_Glow ("Glow", Range(0.0, 100.0)) = 0.0
}
SubShader
{
Tags { "RenderType"="Opaque" }
LOD 200
Pass {
Cull Off
CGPROGRAM
#include "UnityCG.cginc"
#pragma vertex vert
#pragma fragment frag
UNITY_DECLARE_TEX2D(_MainTex);
float4 _MainTex_ST;
fixed4 _Color;
half _Glow;
struct Data
{
float4 vertex : POSITION;
float4 normal : NORMAL;
float2 uv : TEXCOORD0;
};
struct V2F
{
float4 position : SV_POSITION;
float2 uv : TEXCOORD0;
};
V2F vert(Data v)
{
V2F o;
o.position = UnityObjectToClipPos(v.vertex);
o.uv = TRANSFORM_TEX(v.uv, _MainTex);
return o;
}
fixed4 frag(V2F i) : SV_TARGET
{
half4 Tex = UNITY_SAMPLE_TEX2D(_MainTex, i.uv);
if (Tex.r < 0.5) discard;
return fixed4((Tex * _Color * (_Glow + 1.0)).rgb, Tex.r);
}
ENDCG
}
}
FallBack "Diffuse"
}
+9
View File
@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 35f44f943cee1e34c87a1ccdd8dc9352
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant: