Added player character and step in/out of dialogue in scene 101

This commit is contained in:
2026-08-15 15:22:47 +02:00
parent a42f25d5fa
commit 38ba2b0eff
2019 changed files with 181227 additions and 265 deletions
@@ -0,0 +1,59 @@
Shader "Hidden/ProBuilder/EdgePicker"
{
Properties {}
SubShader
{
Tags
{
"ProBuilderPicker"="EdgePass"
"IgnoreProjector"="True"
"DisableBatching"="True"
"LightMode"="Always"
}
Lighting Off
ZTest LEqual
ZWrite On
Cull Off
Blend Off
Pass
{
Name "Edges"
AlphaTest Greater .25
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
#include "UnityCG.cginc"
#include "ProBuilderCG.cginc"
struct appdata
{
float4 vertex : POSITION;
float4 color : COLOR;
};
struct v2f
{
float4 pos : SV_POSITION;
float4 color : COLOR;
};
v2f vert (appdata v)
{
v2f o;
o.pos = UnityObjectToClipPosWithOffset(v.vertex.xyz);
o.color = v.color;
return o;
}
float4 frag (v2f i) : COLOR
{
return i.color;
}
ENDCG
}
}
}