diff options
author | Andreas Grois <andi@grois.info> | 2018-03-23 23:21:43 +0100 |
---|---|---|
committer | Andreas Grois <andi@grois.info> | 2018-03-23 23:21:43 +0100 |
commit | 53a8f22f9d46caf533edf5081477ab36c57c7c89 (patch) | |
tree | 4815482a1dfb1185b466ad67aaaea984e55e5372 /BuddhaTest/Shaders/BuddhaCompute.glsl | |
parent | 183f60d1305e4de6729882f18311090b33d5374b (diff) |
Fix issues caused by symmetry usage (remove symmetry for now). Re-add once it's working...
Diffstat (limited to 'BuddhaTest/Shaders/BuddhaCompute.glsl')
-rw-r--r-- | BuddhaTest/Shaders/BuddhaCompute.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BuddhaTest/Shaders/BuddhaCompute.glsl b/BuddhaTest/Shaders/BuddhaCompute.glsl index 8b342cc..6933c7d 100644 --- a/BuddhaTest/Shaders/BuddhaCompute.glsl +++ b/BuddhaTest/Shaders/BuddhaCompute.glsl @@ -271,7 +271,7 @@ vec2 getCurrentOrbitOffset(const uint orbitNumber, const uint totalWorkers, cons seed = (seed ^ (intHash(orbitNumber+totalWorkers))); float y = hash1(seed,seed); vec2 random = vec2(x,y); - return vec2(random.x * 4-2,random.y*2); + return vec2(random.x * 4-2,random.y*4-2); } void main() { |