| 1234567891011121314151617181920212223242526272829303132333435 |
- mixin PPBase
- {
- depth
- {
- write = false;
- read = false;
- };
- code
- {
- struct VStoFS
- {
- float4 position : SV_POSITION;
- float2 uv0 : TEXCOORD0;
- float2 screenPos : TEXCOORD1;
- };
- struct VertexInput
- {
- float2 screenPos : POSITION;
- float2 uv0 : TEXCOORD0;
- };
-
- VStoFS vsmain(VertexInput input)
- {
- VStoFS output;
-
- output.position = float4(input.screenPos, 0, 1);
- output.uv0 = input.uv0;
- output.screenPos = input.screenPos;
- return output;
- }
- };
- };
|