diff options
author | Ton Roosendaal <ton@blender.org> | 2006-03-19 17:26:56 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-03-19 17:26:56 +0300 |
commit | 4bbc9df60d3d06dc71591e8320f39ad3b65127e4 (patch) | |
tree | d7d166ea0677f8aa34175f49d2f9738df3dca766 /source/blender/render/intern/include/texture.h | |
parent | 528ea065312e93e58d36a02ac14a3d63ddcb0db4 (diff) |
Added option to only render a single side of an Environment map cube,
allowing to use it for planar mirrors. Enable it with the new "Plane"
option in the Environment Map Panel.
Current default is to render the cube side that points to the positive
Z axis direction. To make it work, it uses the same image for all
other cube sides, so it will 'wrap around'.
Also made maximum resolution for environment map to be 4096x4096 now.
Diffstat (limited to 'source/blender/render/intern/include/texture.h')
-rw-r--r-- | source/blender/render/intern/include/texture.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/include/texture.h b/source/blender/render/intern/include/texture.h index 9eb4f16a60d..f4fd7b814eb 100644 --- a/source/blender/render/intern/include/texture.h +++ b/source/blender/render/intern/include/texture.h @@ -59,7 +59,7 @@ void do_sky_tex(float *rco, float *lo, float *dxyview, float *hor, float *zen, f void do_material_tex(struct ShadeInput *shi); void do_lamp_tex(LampRen *la, float *lavec, struct ShadeInput *shi, float *colf); -void init_render_textures(void); +void init_render_textures(Render *re); void render_realtime_texture(struct ShadeInput *shi); |