diff options
author | Thorvald Natvig <slicer@users.sourceforge.net> | 2009-08-25 20:28:10 +0400 |
---|---|---|
committer | Thorvald Natvig <slicer@users.sourceforge.net> | 2009-08-25 20:28:10 +0400 |
commit | cafb24c1f3896240a566f9898891fba605e438e6 (patch) | |
tree | bf7e357a74c0c4f6250db9d23d6357db0604d63a /overlay/overlay.fx | |
parent | 93b6c57f4b79ebc25a133ad99984e33c63b1714b (diff) |
Include fxo binary in overlay
Diffstat (limited to 'overlay/overlay.fx')
-rw-r--r-- | overlay/overlay.fx | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/overlay/overlay.fx b/overlay/overlay.fx new file mode 100644 index 000000000..e5509ba78 --- /dev/null +++ b/overlay/overlay.fx @@ -0,0 +1,19 @@ +float4 VS( float4 Pos : POSITION ) : SV_POSITION +{ + return Pos; +} + +float4 PS( float4 Pos : SV_POSITION ) : SV_Target +{ + return float4( 1.0f, 1.0f, 0.0f, 0.5f ); // Yellow, with Alpha = 1 +} + +technique10 Render +{ + pass P0 + { + SetVertexShader( CompileShader( vs_4_0, VS() ) ); + SetGeometryShader( NULL ); + SetPixelShader( CompileShader( ps_4_0, PS() ) ); + } +} |