mirror of
https://github.com/TomHarte/CLK.git
synced 2026-03-13 19:16:40 +00:00
Add missing mask.
This commit is contained in:
@@ -127,7 +127,7 @@ lowp vec2 quadrature() {
|
||||
|
||||
lowp vec4 sample_composite() {
|
||||
vec4 source = texture(source, coordinate);
|
||||
int offset = int(floor(phase * 4.0));
|
||||
int offset = int(floor(phase * 4.0)) & 3;
|
||||
return vec4(
|
||||
source[offset],
|
||||
quadrature(),
|
||||
|
||||
Reference in New Issue
Block a user