rtengine/assets/shader/static_object.effect
Kevin Trogant 3d0d4169f1 Progress towards rendering with effects
- Added a null renderer to simplify testing
2024-03-08 01:13:10 +01:00

42 lines
627 B
Plaintext

optimization speed;
passes {
pass0 {
vertex {
vk BEGIN
#include "common.hlsl"
struct VSInput
{
};
struct VSOutput
{
float4 Pos : SV_POSITION;
};
VSOutput VsMain(VSInput input, uint vertexIndex : SV_VertexID) {
VSOutput output = (VSOutput)0;
return output;
}
END
}
fragment {
vk BEGIN
struct PSOutput {
float4 Color : SV_TARGET0;
};
PSOutput PsMain(void) {
PSOutput output = (PSOutput)0;
output.Color[0] = 0;
output.Color[1] = 0;
output.Color[2] = 0;
output.Color[3] = 0;
return output;
}
END
}
}
}