Новые растения в ботанику (#416)

* add haloperidol, potassium iodide

* review fixes

* review and tuning

* add: translation

* new mutations

* translation string fix

* holymelons are holy now

* add: translation

* rename holymelon

* Tomato killers don't kill the server anymore. (#28173)

* tomato killer auto death

* fix

* Update miscellaneous.yml

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
Co-authored-by: Ed <96445749+TheShuEd@users.noreply.github.com>
This commit is contained in:
ThereDrD0
2024-07-03 01:03:39 +03:00
committed by GitHub
parent 317f24da0c
commit bc57436166
83 changed files with 1389 additions and 18 deletions

View File

@@ -0,0 +1,17 @@
uniform sampler2D SCREEN_TEXTURE;
uniform highp float VisualScale; // between 0 and 1
const highp float Intensity = 0.2;
const highp int SampleCount = 16; // multiple of 2
// a simple radial blur
void fragment() {
highp vec2 uv = FRAGCOORD.xy * SCREEN_PIXEL_SIZE.xy;
highp vec2 direction = vec2(0.5, 0.5) - uv;
COLOR = vec4(0.0, 0.0, 0.0, 0.0);
highp float test = float(SampleCount);
for (int i=1; i <= SampleCount; i++)
{
COLOR += zTextureSpec(SCREEN_TEXTURE, uv + float(i) * Intensity * VisualScale / float(SampleCount) * direction);
}
COLOR = COLOR / float(SampleCount);
}