diff options
author | Ton Roosendaal <ton@blender.org> | 2006-12-22 11:30:19 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-12-22 11:30:19 +0300 |
commit | e7d916b6e67dafc205c37f0df4eec82381e5e557 (patch) | |
tree | 10d7b9b31b083255d088dbb5b8bd4a1baf6d61cd /source/blender/render/extern | |
parent | 18e81ecafaeded18039b95c0ca1abbe9213ca816 (diff) |
Bugfix #5489
Variable "osatex" was hanging in cases, giving weird noisy results
in cases (like when you use extreme high frequency image texture).
Diffstat (limited to 'source/blender/render/extern')
-rw-r--r-- | source/blender/render/extern/include/RE_shader_ext.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/render/extern/include/RE_shader_ext.h b/source/blender/render/extern/include/RE_shader_ext.h index 81660d23656..c3efceda708 100644 --- a/source/blender/render/extern/include/RE_shader_ext.h +++ b/source/blender/render/extern/include/RE_shader_ext.h @@ -69,6 +69,7 @@ struct ShadeInputCopy { struct VertRen *v1, *v2, *v3; /* vertices can be in any order for quads... */ short i1, i2, i3; /* original vertex indices */ short puno; + short osatex; float vn[3], vno[3]; /* actual render normal, and a copy to restore it */ float n1[3], n2[3], n3[3]; /* vertex normals, corrected */ int mode; /* base material mode (OR-ed result of entire node tree) */ @@ -97,6 +98,7 @@ typedef struct ShadeInput struct VertRen *v1, *v2, *v3; /* vertices can be in any order for quads... */ short i1, i2, i3; /* original vertex indices */ short puno; + short osatex; float vn[3], vno[3]; /* actual render normal, and a copy to restore it */ float n1[3], n2[3], n3[3]; /* vertex normals, corrected */ int mode; /* base material mode (OR-ed result of entire node tree) */ @@ -145,7 +147,6 @@ typedef struct ShadeInput float ao[3]; int xs, ys; /* pixel to be rendered */ - short osatex; int mask; /* subsample mask */ int samplenr; /* sample counter, to detect if we should do shadow again */ int depth; /* 1 or larger on raytrace shading */ |