Created
January 25, 2014 18:40
-
-
Save ThePhD/8621281 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| float4x4 ViewProjection; | |
| texture Tex0; | |
| sampler Texture0; | |
| void ImageVertex ( inout float4 position : SV_Position, | |
| inout float4 color : COLOR0, | |
| inout float2 tex : TEXCOORD0 ) { | |
| position = mul(position, ViewProjection); | |
| } | |
| float4 ImagePixel ( float4 pos : SV_Position, | |
| float4 color : COLOR0, | |
| float2 tex : TEXCOORD0 ) : SV_Target0 { | |
| return tex2D( Texture0, tex ) * color; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment