Clue monitor looks much fancier and more authentic to the original design.

This commit is contained in:
2025-12-11 22:42:47 -05:00
parent 21998dffcb
commit 6ed24ffb01
15 changed files with 191 additions and 1 deletions
@@ -0,0 +1,95 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: M_UVNeon
m_Shader: {fileID: 4800000, guid: 68bb4901ce4fd904ba3b7c99b826e57d, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- _EMISSION
- _ENABLE_GEOMETRIC_SPECULAR_AA
- _GLOSSYREFLECTIONS_OFF
- _SPECULARHIGHLIGHTS_OFF
m_InvalidKeywords: []
m_LightmapFlags: 0
m_EnableInstancingVariants: 1
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _Bicubic: 0
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _EnableGeometricSpecularAA: 1
- _GlossMapScale: 1
- _Glossiness: 1
- _GlossyReflections: 0
- _LightmapType: 0
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularAAScreenSpaceVariance: 0.1
- _SpecularAAThreshold: 0.2
- _SpecularHighlights: 0
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 0, g: 0, b: 0, a: 1}
- _Colour1: {r: 0, g: 0, b: 0, a: 1}
- _Colour2: {r: 1, g: 1, b: 1, a: 1}
- _Emission: {r: 1, g: 0, b: 0, a: 1}
- _EmissionColor: {r: 8, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: b4ebc3728120eee449696f9b988eebcb
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:
+1 -1
View File
@@ -27,5 +27,5 @@ Material:
m_Ints: []
m_Floats: []
m_Colors:
- _Color: {r: 0, g: 0, b: 0, a: 1}
- _Color: {r: 0.20754719, g: 0.20754719, b: 0.20754719, a: 1}
m_BuildTextureStacks: []
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+78
View File
@@ -0,0 +1,78 @@
// Unity built-in shader source. Copyright (c) 2016 Unity Technologies. MIT license (see license.txt)
// Simplified Diffuse shader. Differences from regular Diffuse one:
// - no Main Color
// - fully supports only 1 directional light. Other lights can affect it, but it will be per-vertex/SH.
Shader "Carmen/UVGlow"
{
Properties
{
}
SubShader
{
Tags { "RenderType"="Opaque" }
LOD 200
Pass {
Cull Off
CGPROGRAM
#include "UnityCG.cginc"
#pragma vertex vert
#pragma fragment frag
sampler2D _MainTex;
float4 _MainTex_ST;
CBUFFER_START(UnityPerMaterial)
uniform float4 _Emission;
CBUFFER_END
struct Data
{
float4 vertex : POSITION;
float2 uv : TEXCOORD0;
};
struct V2F
{
float2 uv : TEXCOORD0;
float4 position : SV_POSITION;
};
float3 Hue(float H)
{
return saturate(
float3(abs(H * 6 - 3) - 1,
2 - abs(H * 6 - 2),
2 - abs(H * 6 - 4)));
}
float4 HSVtoRGB(in float3 HSV)
{
return float4(((Hue(HSV.x) - 1) * HSV.y + 1) * HSV.z, 1);
}
V2F vert(Data v)
{
V2F o;
o.uv = TRANSFORM_TEX(v.uv, _MainTex);
o.position = UnityObjectToClipPos(v.vertex);
return o;
}
fixed4 frag(V2F i) : SV_TARGET
{
return HSVtoRGB(float3(i.uv.x, 1.0, 1.0)) * (i.uv.y * 100.0);
}
ENDCG
}
}
FallBack "VRChat/Mobile/Standard Lite"
}
+9
View File
@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 68bb4901ce4fd904ba3b7c99b826e57d
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.