Peter Bay Bastian
7 年前
当前提交
8dc11b9a
共有 5 个文件被更改,包括 140 次插入 和 74 次删除
-
95MaterialGraphProject/Assets/UnityShaderEditor/Runtime/Nodes/Channel/SplitNode.cs
-
1MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/Split.ShaderGraph
-
11MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/Split.ShaderGraph.meta
-
39ShaderTemplates/Split.ShaderGraph.png
-
68ShaderTemplates/Split.ShaderGraph.shader
1
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/Split.ShaderGraph
文件差异内容过多而无法显示
查看文件
文件差异内容过多而无法显示
查看文件
|
|||
fileFormatVersion: 2 |
|||
guid: 5636d831c461a5e47984f2a939e1b1b9 |
|||
timeCreated: 1504697124 |
|||
licenseType: Pro |
|||
ShaderImporter: |
|||
externalObjects: {} |
|||
defaultTextures: [] |
|||
nonModifiableTextures: [] |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
Shader "Split" |
|||
{ |
|||
Properties |
|||
{ |
|||
|
|||
} |
|||
|
|||
SubShader |
|||
{ |
|||
Tags |
|||
{ |
|||
"RenderType"="Opaque" |
|||
"Queue"="Geometry" |
|||
} |
|||
|
|||
Blend One Zero |
|||
|
|||
Cull Back |
|||
|
|||
ZTest LEqual |
|||
|
|||
ZWrite On |
|||
|
|||
|
|||
LOD 200 |
|||
|
|||
CGPROGRAM |
|||
#pragma target 3.0 |
|||
#pragma surface surf Standard vertex:vert |
|||
#pragma glsl |
|||
#pragma debug |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
struct Input |
|||
{ |
|||
float4 color : COLOR; |
|||
|
|||
}; |
|||
|
|||
void vert (inout appdata_full v, out Input o) |
|||
{ |
|||
UNITY_INITIALIZE_OUTPUT(Input,o); |
|||
|
|||
} |
|||
|
|||
void surf (Input IN, inout SurfaceOutputStandard o) |
|||
{ |
|||
float3 Vector3_Vector3_3E03E6E5_Uniform = float3 (0.25, 0.5, 0.75); |
|||
float Split_CDE20F4C_R = Vector3_Vector3_3E03E6E5_Uniform[0]; |
|||
float Split_CDE20F4C_G = Vector3_Vector3_3E03E6E5_Uniform[1]; |
|||
float Split_CDE20F4C_B = Vector3_Vector3_3E03E6E5_Uniform[2]; |
|||
float Split_CDE20F4C_A = 1.0; |
|||
o.Albedo = Split_CDE20F4C_A; |
|||
o.Emission = Split_CDE20F4C_R; |
|||
o.Metallic = Split_CDE20F4C_B; |
|||
o.Smoothness = Split_CDE20F4C_G; |
|||
|
|||
} |
|||
ENDCG |
|||
} |
|||
|
|||
|
|||
FallBack "Diffuse" |
|||
CustomEditor "LegacyIlluminShaderGUI" |
|||
} |
撰写
预览
正在加载...
取消
保存
Reference in new issue