Esempio n. 1
0
 Position4Texture2 VS(Position4Texture2 input)
 {
     input.Position     = input.Position.WZYX();
     input.Position     = input.Position.WWXY();
     input.TextureCoord = input.TextureCoord.YY();
     return(input);
 }
Esempio n. 2
0
        SystemPosition4Texture2 VS(Position4Texture2 input)
        {
            input.Position     = input.Position.WZYX();
            input.Position     = input.Position.WWXY();
            input.TextureCoord = input.TextureCoord.YY();

            SystemPosition4Texture2 output;

            output.Position     = input.Position;
            output.TextureCoord = input.TextureCoord;
            return(output);
        }
Esempio n. 3
0
        SystemPosition4Texture2 VS(Position4Texture2 input)
        {
            input.Position     = input.Position.WZYX();
            input.Position     = input.Position.WWXY();
            input.TextureCoord = input.TextureCoord.YY();

            input.Position = Vector4.Normalize(input.Position).XYZW();

            SystemPosition4Texture2 output;

            output.Position     = input.Position;
            output.TextureCoord = input.TextureCoord;
            return(output);
        }