Blender Git Commit Log
Git Commits -> Revision a325bc6
Revision a325bc6 by Jeroen Bakker (master) March 5, 2019, 13:22 (GMT) |
Fix T58953: Lamp data not always set The Lamp data was not always set. When using CUDA or CPU it was, but when using OpenCL without `OBJECT_MOTION` `sd->lamp` not updated to the actual lamp. This made the TextureCoordinate output the wrong normal when used in a light shader. As the normal was incorrect it made the IES node render incorrectly. (what is the default for the IES node). By setting the lamp data when no `__OBJECT_MOTION__` compile directive is present makes sure that the normal is correctly calculated. Fix D4450 Reviewed By: Brecht van Lommel |
Commit Details:
Full Hash: a325bc6bf3e6dace5d1e15330650ea532052c9fc
Parent Commit: 69c8248
Lines Changed: +4, -0
1 Modified Path:
/intern/cycles/kernel/kernel_shader.h (+4, -0) (Diff)