|
|
@@ -291,6 +291,16 @@ pub async fn make(
|
|
|
expr::load_var("h"),
|
|
|
COLOR_TRANSTEAL,
|
|
|
);
|
|
|
+ shape.add_radial_glow(
|
|
|
+ cc.compile("w / 2").unwrap(),
|
|
|
+ expr::load_var("h"),
|
|
|
+ cc.compile("w * 1.2").unwrap(),
|
|
|
+ cc.compile("h / 2").unwrap(),
|
|
|
+ 8,
|
|
|
+ std::f32::consts::PI,
|
|
|
+ 2. * std::f32::consts::PI,
|
|
|
+ [0.3, 0.5, 1., 0.25],
|
|
|
+ );
|
|
|
shape.add_outline(
|
|
|
expr::const_f32(0.),
|
|
|
expr::const_f32(0.),
|