diff options
author | Ton Roosendaal <ton@blender.org> | 2004-04-27 01:38:36 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-04-27 01:38:36 +0400 |
commit | 4ff3a1ec106ec7a46c6d577c885b8001af29ed49 (patch) | |
tree | 31084a1853606451e3edc3fdb1fc2df226a89054 /source/blender/render/extern | |
parent | 0e156156b1a420145fcdf7c042ab1abef92e4959 (diff) |
Request from [A]ndy:
When tracing a mirror with AO, the rendering was extremely slow due to
each mirror sample (like 8 per pixel) taking a full range of AO samples.
Now it uses for mirror samples a corrected amount, which makes sure for
a single pixel still a full AO range is used.
Makes mirror+AO render 5-6 times faster, at least.
Diffstat (limited to 'source/blender/render/extern')
-rw-r--r-- | source/blender/render/extern/include/render_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/render/extern/include/render_types.h b/source/blender/render/extern/include/render_types.h index e9cefafa4c7..7f3091f2b87 100644 --- a/source/blender/render/extern/include/render_types.h +++ b/source/blender/render/extern/include/render_types.h @@ -61,6 +61,7 @@ typedef struct ShadeInput float vn[3], view[3], refcol[4], displace[3]; float xs, ys; /* pixel to be rendered */ short osatex; + int mask; } ShadeInput; |