mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-15 03:14:47 +08:00
Moved Shaders src to CodeWalker.Shaders
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
struct VS_Output
|
||||
{
|
||||
float4 Pos : SV_POSITION;
|
||||
float2 Tex : TEXCOORD0;
|
||||
};
|
||||
|
||||
VS_Output main( float4 pos : POSITION )
|
||||
{
|
||||
VS_Output output;
|
||||
output.Pos = pos;
|
||||
output.Tex.x = (pos.x*0.5)+0.5;
|
||||
output.Tex.y = (pos.y*-0.5)+0.5;
|
||||
return output;
|
||||
}
|
||||
Reference in New Issue
Block a user