diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-03-11 12:30:26 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-03-11 12:36:59 +0300 |
commit | c149b6b7d72f9d399a8e49160be8a2788b3f2c0e (patch) | |
tree | 0f4168eed3cd921fc62729027c0d6eb673fcf14d /source/blender/render/intern/include/texture.h | |
parent | b5b269ac11679d52d3d062e1f584fef83acaefc0 (diff) |
Fix T47753: World equirectangular regression
D1729 fixed 'View' projection but broke 'Equirectangular'.
This commit also changes equirectangular projection to match Cycles and the viewport.
Diffstat (limited to 'source/blender/render/intern/include/texture.h')
-rw-r--r-- | source/blender/render/intern/include/texture.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/render/intern/include/texture.h b/source/blender/render/intern/include/texture.h index 1141449f2ab..dfb491f46b0 100644 --- a/source/blender/render/intern/include/texture.h +++ b/source/blender/render/intern/include/texture.h @@ -74,7 +74,9 @@ struct ImagePool; /* texture.h */ void do_halo_tex(struct HaloRen *har, float xn, float yn, float col_r[4]); -void do_sky_tex(const float rco[3], const float lo[3], const float dxyview[2], float hor[3], float zen[3], float *blend, int skyflag, short thread); +void do_sky_tex( + const float rco[3], const float view[3], const float lo[3], const float dxyview[2], + float hor[3], float zen[3], float *blend, int skyflag, short thread); void do_material_tex(struct ShadeInput *shi, struct Render *re); void do_lamp_tex(LampRen *la, const float lavec[3], struct ShadeInput *shi, float col_r[3], int effect); void do_volume_tex(struct ShadeInput *shi, const float xyz[3], int mapto_flag, float col_r[3], float *val, struct Render *re); |