ableos/shadeable/shaders/simple.shade

18 lines
256 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
}