From 071bc3e6439d7775e9684dfeeb27d423d47167a9 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 11 Jan 2020 21:12:40 +0100 Subject: Add version of local fisheye sunrise with fancy plotting --- raymarch.cl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'raymarch.cl') diff --git a/raymarch.cl b/raymarch.cl index 34ef8ed..d0092d9 100644 --- a/raymarch.cl +++ b/raymarch.cl @@ -189,7 +189,7 @@ __kernel void render_fisheye(__global double* result, double3 eye_pos, double3 e const double2 screen_pos = getNormalizedScreenPos(x, y); if (!inFishEyeView(screen_pos)) { - setColor(result, x, y, 0.0); + setColor(result, x, y, 1.0); return; } -- cgit v1.2.3