- Added a corkboard behind the wanted posters.

- Teleporter buttons change spawn for all but the host/admin/camera operators.
- Fixed wanted posters having improperly scaled normal maps.
This commit is contained in:
2026-04-13 02:57:31 -04:00
parent 4b882fab17
commit 28ab8cbe45
27 changed files with 909 additions and 370 deletions
+6 -2
View File
@@ -9,6 +9,8 @@ Shader "Carmen/Bicolour Noise"
Properties
{
_MainTex ("Noise Texture", 2D) = "white" {}
_NormalTex ("Normal", 2D) = "bump" {}
_Color("Colour 1", Color) = (0,0,0,1)
_Color2("Colour 2", Color) = (1,1,1,1)
}
@@ -40,6 +42,7 @@ Shader "Carmen/Bicolour Noise"
#pragma surface surf LambertVRC alphatest:_Cutoff exclude_path:prepass exclude_path:deferred noforwardadd
UNITY_DECLARE_TEX2D(_MainTex);
UNITY_DECLARE_TEX2D(_NormalTex);
struct SurfaceOutputVRC
{
@@ -54,6 +57,7 @@ Shader "Carmen/Bicolour Noise"
struct Input
{
float2 uv_MainTex;
float2 uv_NormalTex;
half4 colour : COLOR;
half4 colour2 : COLOR;
};
@@ -63,11 +67,11 @@ Shader "Carmen/Bicolour Noise"
void surf (Input IN, inout SurfaceOutputVRC o)
{
o.Albedo = lerp(_Color, _Color2, UNITY_SAMPLE_TEX2D(_MainTex, IN.uv_MainTex).r);
o.Albedo = lerp(_Color, _Color2, smoothstep(0.2, 0.8, UNITY_SAMPLE_TEX2D(_MainTex, IN.uv_MainTex).r));
o.Alpha = 1.0;
o.Gloss = 0.0;
o.Normal = fixed3(0.0, 0.0, 1.0);
o.Normal = UnpackNormal(UNITY_SAMPLE_TEX2D(_NormalTex, IN.uv_NormalTex));
}