32 lines
739 B
GLSL
32 lines
739 B
GLSL
shader "MyShader/Standard"
|
|
{
|
|
properties
|
|
{
|
|
float4 color = float4(1, 1, 1, 1);
|
|
tex2d_b texture1 = tex2d_b(black);
|
|
tex2d_b texture2 = tex2d_b(white);
|
|
tex2d_b texture3 = tex2d_b(grey);
|
|
tex2d_b texture4 = tex2d_b(normal);
|
|
}
|
|
|
|
pipeline
|
|
{
|
|
ztest = less_equal;
|
|
zwrite = on;
|
|
cull = back;
|
|
blend = opaque;
|
|
color_mask = 0;
|
|
}
|
|
|
|
pass "Forward"
|
|
{
|
|
ms("F:/csharp/GhostEngine/Ghost.Graphics/RenderPasses/ShaderCode.hlsl", "MSMain");
|
|
ps("F:/csharp/GhostEngine/Ghost.Graphics/RenderPasses/ShaderCode.hlsl", "PSMain");
|
|
|
|
includes
|
|
{
|
|
"F:/csharp/GhostEngine/Ghost.Shader/BuiltIn/Common.hlsl";
|
|
}
|
|
}
|
|
}
|