render/shadow: Tweak shadow variables
This commit is contained in:
parent
5c656de9d4
commit
8c0136cec0
1 changed files with 2 additions and 2 deletions
|
|
@ -78,10 +78,10 @@ impl ShadowShader {
|
||||||
{
|
{
|
||||||
let shader = Self::get(renderer);
|
let shader = Self::get(renderer);
|
||||||
|
|
||||||
let softness = 30.;
|
let softness = 25.;
|
||||||
let spread = 5.;
|
let spread = 5.;
|
||||||
let offset = [0., 5.];
|
let offset = [0., 5.];
|
||||||
let color = [0., 0., 0., 0.45];
|
let color = [0., 0., 0., 0.35];
|
||||||
let radius = radius.map(|r| ceil(r as f64));
|
let radius = radius.map(|r| ceil(r as f64));
|
||||||
let radius = [
|
let radius = [
|
||||||
radius[3], // top_left
|
radius[3], // top_left
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue