Files
GhostEngine/Ghost.Graphics/test.gshdr
2026-01-25 21:18:16 +09:00

28 lines
665 B
Plaintext

shader "MyShader/Standard"
{
properties
{
float4 color = { 1, 1, 1, 1 };
tex2d texture1 = { black };
tex2d texture2 = { white };
tex2d texture3 = { grey };
tex2d texture4 = { normal };
sampler tex_sampler;
}
pass "Forward"
{
pipeline
{
ztest = disabled;
zwrite = off;
cull = off;
blend = opaque;
color_mask = all;
}
mesh "F:/csharp/GhostEngine/Ghost.Graphics/RenderPasses/ShaderCode.hlsl" : "MSMain";
pixel "F:/csharp/GhostEngine/Ghost.Graphics/RenderPasses/ShaderCode.hlsl" : "PSMain";
}
}