summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/kernel.cu10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/kernel.cu b/src/kernel.cu
index 0dc5639..ffd2d88 100644
--- a/src/kernel.cu
+++ b/src/kernel.cu
@@ -10,7 +10,7 @@
#include "alpha.h"
#define RED_WAVELENGTH 685
-#define BLUE_WAVELENGTH 465
+#define BLUE_WAVELENGTH 445
#define GREEN_WAVELENGTH 545
__device__ void fAtomicAdd(float *addr, float data)
@@ -147,7 +147,7 @@ __global__ void build_rgb_lookup(int nthreads, curandState *rng_states, float3 *
}
p = seed;
- p.wavelength = BLUE_WAVELENGTH;
+ p.wavelength = GREEN_WAVELENGTH;
to_diffuse(p, s, rng, max_steps);
@@ -164,7 +164,7 @@ __global__ void build_rgb_lookup(int nthreads, curandState *rng_states, float3 *
}
p = seed;
- p.wavelength = GREEN_WAVELENGTH;
+ p.wavelength = BLUE_WAVELENGTH;
to_diffuse(p, s, rng, max_steps);
@@ -227,7 +227,7 @@ __global__ void render(int nthreads, curandState *rng_states, float3 *positions,
}
p = seed;
- p.wavelength = BLUE_WAVELENGTH;
+ p.wavelength = GREEN_WAVELENGTH;
to_diffuse(p, s, rng, max_steps);
@@ -244,7 +244,7 @@ __global__ void render(int nthreads, curandState *rng_states, float3 *positions,
}
p = seed;
- p.wavelength = GREEN_WAVELENGTH;
+ p.wavelength = BLUE_WAVELENGTH;
to_diffuse(p, s, rng, max_steps);