1
0
Fork 0
forked from AbleOS/ableos
ableOS_v1Change/shadeable/shaders/simple.shade

17 lines
255 B
Plaintext
Raw Normal View History

2022-01-16 19:42:11 -06:00
const VERSION = 0.5;
fn main(){
2022-01-22 00:01:16 -06:00
let abcd = RGBA(255, 255, 0, 0);
//print("hi");
2022-01-16 19:42:11 -06:00
2022-01-22 00:01:16 -06:00
//debug("hi part 2");
2022-01-16 19:42:11 -06:00
2022-01-22 00:01:16 -06:00
if PIXEL_X == 30 {
PIXEL_RGBA;
}
else if PIXEL_X == 10 {
RGBA(0, 0, 0, 0);
} else {
abcd;
}
2022-01-16 19:42:11 -06:00
}