Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2004-01-14 23:13:41 +0300
committerTon Roosendaal <ton@blender.org>2004-01-14 23:13:41 +0300
commit5190faf513e8289c68d4e40d3ea4db6260493570 (patch)
treecb2356b5ff069753acf84ba629807d5565078cc7 /source/blender/render/intern/include/rendercore.h
parentdd714911204e101b4139cb07859579d3f16a5605 (diff)
- fix for speedup raytracing, which gave errors in very simple scenes
(1 lamp, shadow). The 'coherence' check gets reset now for each new pixel rendered, which remains efficient for oversampling. - small cleanups in code, prototype added, less globals.
Diffstat (limited to 'source/blender/render/intern/include/rendercore.h')
-rw-r--r--source/blender/render/intern/include/rendercore.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/render/intern/include/rendercore.h b/source/blender/render/intern/include/rendercore.h
index 8757d99b3ec..288ff10937f 100644
--- a/source/blender/render/intern/include/rendercore.h
+++ b/source/blender/render/intern/include/rendercore.h
@@ -71,6 +71,10 @@ float fresnel_fac(float *view, float *vn, float fresnel, float fac);
void calc_R_ref(struct ShadeInput *shi);
float spec(float inp, int hard);
+/* -------- ray.c ------- */
+
+extern void ray_shadow(ShadeInput *, LampRen *, float *, int);
+extern void ray_trace(ShadeInput *, ShadeResult *, int);
/**
* Apply the background (sky). Depending on the active alphamode and