Create/Update assets for version 21w39a

This commit is contained in:
InventiveBot
2021-09-29 18:35:18 +00:00
parent 83d8d0b4ad
commit 60984543d9
14356 changed files with 971401 additions and 18 deletions

View File

@@ -0,0 +1,20 @@
#version 150
uniform sampler2D DiffuseSampler;
uniform sampler2D PrevSampler;
in vec2 texCoord;
in vec2 oneTexel;
uniform vec2 InSize;
uniform vec3 Phosphor;
out vec4 fragColor;
void main() {
vec4 CurrTexel = texture(DiffuseSampler, texCoord);
vec4 PrevTexel = texture(PrevSampler, texCoord);
fragColor = vec4(max(PrevTexel.rgb * Phosphor, CurrTexel.rgb), 1.0);
}