Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.6 Bug Tracker: Browse

[#25407] OGL Render leaves static GLSL shadows

Date:
2010-12-29 23:47
Priority:
3
State:
Closed
Submitted by:
Colin Levy (effstops)
Assigned to:
Nobody (None)
Category:
Opengl / Gfx
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
OGL Render leaves static GLSL shadows
Detailed description
Hey, not sure if this has been reported already.

I've set up a scene that has a shadbuf spot lamp casting shadows onto a ground plane. When you preview the animation you see the light and shadow nicely recalculate for every frame and it looks quite nice.

When you click the 'OpenGL Render Viewport' button, however, the shadow sticks to wherever it was in the 3d preview and does not calculate for the render.

Thanks much!

--Colin

Followup

Message
  • Date: 2010-12-30 05:32
  • Sender: Alexander Kuznetsov
  • You mean render OpenGl animation

    It seems view3d_draw.c ED_view3d_draw_offscreen doesn't have gpu_update_lamps_shadows(scene, v3d);

    http://www.pasteall.org/17887/diff

    ^This fixes the problem, but I'm not familiar with 3d view code.
 

Attached Files:

Name Date Download
glsl_glrender_shadow.blend 2010-12-29 23:47 Download

Changes:

Field Old Value Date By
status_idOpen2010-12-30 15:47ton
close_dateNone2010-12-30 15:47ton
StatusNew2010-12-30 15:47ton
File Added14298: glsl_glrender_shadow.blend2010-12-29 23:47effstops