Added North America floor map.

This commit is contained in:
2025-07-24 21:13:55 -04:00
parent 9b08bcc6e9
commit 613a11c7ef
41 changed files with 44376 additions and 406 deletions
+7 -1
View File
@@ -10,6 +10,8 @@ Shader "Carmen/Maps/SDF Map Borders"
{
_MainTex ("SDF", 2D) = "white" {}
_ColourTex ("Country Colours", 2D) = "white" {}
_LineThickness ("Line Thickness", float) = 0.15
}
SubShader
@@ -41,6 +43,10 @@ Shader "Carmen/Maps/SDF Map Borders"
UNITY_DECLARE_TEX2D(_MainTex);
UNITY_DECLARE_TEX2D(_ColourTex);
CBUFFER_START(UnityPerMaterial)
float _LineThickness;
CBUFFER_END
struct SurfaceOutputVRC
{
fixed3 Albedo;
@@ -60,7 +66,7 @@ Shader "Carmen/Maps/SDF Map Borders"
void surf (Input IN, inout SurfaceOutputVRC o)
{
half linestep = step(UNITY_SAMPLE_TEX2D(_MainTex, IN.uv_MainTex), 0.025);
half linestep = step(UNITY_SAMPLE_TEX2D(_MainTex, IN.uv_MainTex), _LineThickness);
o.Albedo = lerp(UNITY_SAMPLE_TEX2D(_ColourTex, IN.uv_MainTex), half4(0.0, 0.0, 0.0, 1.0), linestep);
o.Alpha = 1.0f;
}