This commit is contained in:
2026-08-26 18:29:11 +02:00
parent 527e79cef3
commit 144e6b62ad
3 changed files with 10 additions and 1 deletions
+2
View File
@@ -347,6 +347,7 @@ subroutine(fx_stage_sub) vec4 fx_11(vec2 vUV, sampler2D previous, sampler2D feed
// FX 12 : Game Of Life
subroutine(fx_stage_sub) vec4 fx_12(vec2 vUV, sampler2D previous, sampler2D feedback, int seed, vec3 b1, vec2 f1, vec3 b2, vec2 f2, vec3 b3, vec2 f3, vec3 m0)
{
return texture(previous, uv0); // TODO disabled
// start
vec2 uv0 = vUV.st;
@@ -526,6 +527,7 @@ subroutine(fx_stage_sub) vec4 fx_14(vec2 vUV, sampler2D previous, sampler2D feed
// FX 15 : Random
subroutine(fx_stage_sub) vec4 fx_15(vec2 vUV, sampler2D previous, sampler2D feedback, int seed, vec3 b1, vec2 f1, vec3 b2, vec2 f2, vec3 b3, vec2 f3, vec3 m0)
{
return texture(previous, uv0); // TODO disabled
int fx = int(randTime(seed + 100) * 14);
if (fx == 0) {