[Bf-blender-cvs] CVS commit: blender/source/blender/render/intern/source shadbuf.c

Ton Roosendaal ton at blender.org
Mon Sep 25 11:35:05 CEST 2006


ton (Ton Roosendaal) 2006/09/25 11:35:05 CEST

  Modified files:
    blender/source/blender/render/intern/source shadbuf.c 
  
  Log:
  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.
  
  Revision  Changes    Path
  1.21      +10 -7     blender/source/blender/render/intern/source/shadbuf.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/render/intern/source/shadbuf.c.diff?r1=1.20&r2=1.21&cvsroot=bf-blender>



More information about the Bf-blender-cvs mailing list