Blender Git Loki

Git Commits -> Revision 4aaf5ba

Revision 4aaf5ba by Alexander Romanov (master)
July 4, 2016, 08:08 (GMT)
Fix input for Texture node (envmap+world_space_shading)

This patch fixes shortcoming of D2046.
The original behavior without world_space_shading flag is that Texture node expects the reflected vector in view space. But with world_space_shading it should be in world space.

In attached file you will see a simple material setup and a node material analogue.

Simple material must have the same behavior regardless world_space_shading flag.

{F318866}

Alexander (Blend4Web Team)

Reviewers: brecht

Reviewed By: brecht

Subscribers: campbellbarton, homyachetser, Evgeny_Rodygin, AlexKowel, yurikovelenov

Differential Revision: https://developer.blender.org/D2072

Commit Details:

Full Hash: 4aaf5baccf1b2f6bb0d618ab5005848431e168d0
Parent Commit: fe44eac
Lines Changed: +33, -10

2 Modified Paths:

/source/blender/render/intern/source/envmap.c (+18, -10) (Diff)
/source/blender/render/intern/source/render_texture.c (+15, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021