Reworked round 1 podium design to be closer to the original design.

This commit is contained in:
2025-10-03 21:22:22 -04:00
parent 814aa1e352
commit dcb73bce00
26 changed files with 481 additions and 186 deletions
+4 -1
View File
@@ -3,6 +3,7 @@ Shader "Custom/FrontfaceCulling"
Properties
{
_Color ("Color", Color) = (1,1,1,1)
_Expand ("Expand", Float) = 1.0
}
SubShader
{
@@ -18,10 +19,12 @@ Shader "Custom/FrontfaceCulling"
#pragma fragment frag
fixed4 _Color;
float _Expand;
struct Data
{
float4 vertex : POSITION;
float4 normal : NORMAL;
float2 uv : TEXCOORD0;
};
@@ -34,7 +37,7 @@ Shader "Custom/FrontfaceCulling"
V2F vert(Data v)
{
V2F o;
o.position = UnityObjectToClipPos(v.vertex);
o.position = UnityObjectToClipPos(v.vertex + (v.normal * _Expand));
o.screenPosition = ComputeScreenPos(o.position);
return o;
}