1
0
Fork 0
forked from koniifer/ableos
ableos-framebuffer/shadeable/shaders/simple.shade
2022-04-12 00:23:11 +02:00

17 lines
255 B
Plaintext

const VERSION = 0.5;
fn main(){
let abcd = RGBA(255, 255, 0, 0);
//print("hi");
//debug("hi part 2");
if PIXEL_X == 30 {
PIXEL_RGBA;
}
else if PIXEL_X == 10 {
RGBA(0, 0, 0, 0);
} else {
abcd;
}
}