Update
This commit is contained in:
@@ -1,42 +0,0 @@
|
||||
// Shader that is invisible but casts shadows.
|
||||
// This shader uses the standard render pipeline but was made with Amplify Shader Editor so can be changed to other pipelines.
|
||||
Shader "Ultimate Character Controller/First Person Controller/Invisible Shadow Caster"
|
||||
{
|
||||
Properties
|
||||
{
|
||||
[HideInInspector] __dirty( "", Int ) = 1
|
||||
}
|
||||
|
||||
SubShader
|
||||
{
|
||||
Tags{ "RenderType" = "Transparent" "Queue" = "Transparent+0" "IgnoreProjector" = "True" }
|
||||
Cull Back
|
||||
CGPROGRAM
|
||||
#pragma target 3.0
|
||||
#pragma surface surf Standard alpha:fade keepalpha addshadow fullforwardshadows
|
||||
struct Input
|
||||
{
|
||||
half filler;
|
||||
};
|
||||
|
||||
void surf( Input i , inout SurfaceOutputStandard o )
|
||||
{
|
||||
float4 color1 = IsGammaSpace() ? half4(0,0,0,0) : half4(0,0,0,0);
|
||||
o.Albedo = color1.rgb;
|
||||
o.Alpha = 0.0;
|
||||
}
|
||||
|
||||
ENDCG
|
||||
}
|
||||
Fallback "Diffuse"
|
||||
}
|
||||
/*ASEBEGIN
|
||||
Version=16500
|
||||
2008;260;1201;693;434.3739;194.8961;1.3;True;True
|
||||
Node;AmplifyShaderEditor.RangedFloatNode;4;359.9262,206.8038;Float;False;Constant;_Float0;Float 0;0;0;Create;True;0;0;False;0;0;0;0;0;0;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.ColorNode;1;356.926,-2.49607;Float;False;Constant;_Color0;Color 0;0;0;Create;True;0;0;False;0;0,0,0,0;0,0,0,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4
|
||||
Node;AmplifyShaderEditor.StandardSurfaceOutputNode;0;0,0;Half;False;True;2;Half;ASEMaterialInspector;0;0;Standard;New Amplify Shader;False;False;False;False;False;False;False;False;False;False;False;False;False;False;True;False;False;False;False;False;True;Back;0;False;-1;0;False;-1;False;0;False;-1;0;False;-1;False;0;Transparent;0.5;True;True;0;False;Transparent;;Transparent;All;True;True;True;True;True;True;True;True;True;True;True;True;True;True;True;True;True;0;False;-1;False;0;False;-1;255;False;-1;255;False;-1;0;False;-1;0;False;-1;0;False;-1;0;False;-1;0;False;-1;0;False;-1;0;False;-1;0;False;-1;False;2;15;10;25;False;0.5;True;2;5;False;-1;10;False;-1;0;0;False;-1;0;False;-1;0;False;-1;0;False;-1;0;False;0;0,0,0,0;VertexOffset;True;False;Cylindrical;False;Relative;0;;-1;0;-1;-1;0;False;0;0;False;-1;-1;0;False;-1;0;0;0;False;0.1;False;-1;0;False;-1;16;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT3;0,0,0;False;3;FLOAT;0;False;4;FLOAT;0;False;5;FLOAT;0;False;6;FLOAT3;0,0,0;False;7;FLOAT3;0,0,0;False;8;FLOAT;0;False;9;FLOAT;0;False;10;FLOAT;0;False;13;FLOAT3;0,0,0;False;11;FLOAT3;0,0,0;False;12;FLOAT3;0,0,0;False;14;FLOAT4;0,0,0,0;False;15;FLOAT3;0,0,0;False;0
|
||||
WireConnection;0;0;1;0
|
||||
WireConnection;0;9;4;0
|
||||
ASEEND*/
|
||||
//CHKSM=F2E7DB65AD9F275D0E3A6B8E24DDEEDA74116C8C
|
||||
Reference in New Issue
Block a user