初期コミット

This commit is contained in:
oogushiyuuga
2026-02-17 14:51:52 +09:00
parent a56c092573
commit 690c2e98d0
3651 changed files with 1024547 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
Shader "Yurowm/SkinShader" {
Properties {
_MainTex ("Texture", 2D) = "white" {}
}
SubShader {
Tags { "RenderType" = "Opaque" }
Cull Back
CGPROGRAM
#pragma surface surf Lambert
struct Input {
float2 uv_MainTex;
float3 viewDir;
};
sampler2D _MainTex;
void surf (Input IN, inout SurfaceOutput o) {
half rim = 1.0 - saturate(dot (normalize(IN.viewDir), o.Normal));
float3 c = tex2D (_MainTex, IN.uv_MainTex);
o.Albedo = c.rgb/2;
o.Emission = lerp(0.2, 1.0, pow (rim, 2)) * c.rgb;
}
ENDCG
}
Fallback "Diffuse"
}