Blender Git Loki
Git Commits -> Revision 2662c7a
Revision 2662c7a by Ton Roosendaal (master) September 25, 2006, 09:35 (GMT) |
Bugfix #5034 When using new Shadowbuffer option "Auto clip", the clipping planes could become so narrow that sampling code - using ints - could result in overflows (sign flip). This especially for small shadow buffers with high bias values. This fix adds an extra check in shadow sampling for such overflows. |
Commit Details:
Full Hash: 2662c7ae79e60ffad00ef9c4a5ad1782b378c34a
SVN Revision: 8541
Parent Commit: aec9f89
Lines Changed: +10, -7
1 Modified Path:
/source/blender/render/intern/source/shadbuf.c (+10, -7) (Diff)