wip
This commit is contained in:
+2
-2
@@ -347,7 +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
|
||||
return texture(previous, vUV); // TODO disabled
|
||||
// start
|
||||
|
||||
vec2 uv0 = vUV.st;
|
||||
@@ -527,7 +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
|
||||
return texture(previous, vUV); // TODO disabled
|
||||
int fx = int(randTime(seed + 100) * 14);
|
||||
|
||||
if (fx == 0) {
|
||||
|
||||
Reference in New Issue
Block a user