Blender Git Loki

Git Commits -> Revision 0db2975

Revision 0db2975 by Campbell Barton (master)
August 26, 2009, 16:05 (GMT)
[#18837] if a sunlamp is set to a too high energy, speculars turn black

shr->spec values could be greater then 1.0, causing negative color when using (1.0-shr->spec[i]) as a blending factor.

When shr->spec[i] is 1.0 the mircol is ignored, so only mix the mircol when needed (like clamping the spec).

Commit Details:

Full Hash: 0db2975ff6cc2592b062f749059e640dc1e2b140
SVN Revision: 22806
Parent Commit: 33e2d11
Lines Changed: +9, -6

1 Modified Path:

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