ableos/shadeable/shaders/simple.shade

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