15 lines
212 B
Plaintext
15 lines
212 B
Plaintext
|
uniform half4 inColor;
|
||
|
|
||
|
half4 flip(half4 v) {
|
||
|
return v.wzyx;
|
||
|
}
|
||
|
|
||
|
void main() {
|
||
|
half4 color = inColor;
|
||
|
|
||
|
sk_FragColor = color.xyzy.wzyx;
|
||
|
sk_FragColor = flip(color.xyzy);
|
||
|
|
||
|
sk_FragColor = color;
|
||
|
}
|