ableos/shadeable/shaders/simple.shade

17 lines
255 B
Plaintext
Raw Normal View History

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