Blender Git Loki
Git Commits -> Revision 590efaa
Revision 590efaa by Antonis Ryakiotakis (master) March 30, 2015, 12:14 (GMT) |
Potential fix for T43987, ambient occlusion different between offscreen and on screen rendering. Aaaaah, the beauty of driver implementations of OpenGL! Turns out the problem here is that drivers calculate df/dy differently in some cases (probably because OpenGL counts y reverse to how the window system does, so drivers can get confused). Fixed this for the ATI case based on info we have so far, there's also the Intel case which will be handled separately (missing info on Intel's renderer string etc). Unfortunately we can't really fix this for the general case so we'll have to haldle cases as they come in our tracker and by adding silly string comparisons in our GPU initialization module <sigh>. |
Commit Details:
Full Hash: 590efaacb862aa4352b11e77d37805df5445a90f
Parent Commit: 4aeb34d
Lines Changed: +41, -9
5 Modified Paths:
/source/blender/gpu/GPU_extensions.h (+1, -0) (Diff)
/source/blender/gpu/intern/gpu_compositing.c (+4, -0) (Diff)
/source/blender/gpu/intern/gpu_extensions.c (+28, -1) (Diff)
/source/blender/gpu/shaders/gpu_shader_fx_lib.glsl (+0, -8) (Diff)
/source/blender/gpu/shaders/gpu_shader_fx_ssao_frag.glsl (+8, -0) (Diff)
/source/blender/gpu/intern/gpu_compositing.c (+4, -0) (Diff)
/source/blender/gpu/intern/gpu_extensions.c (+28, -1) (Diff)
/source/blender/gpu/shaders/gpu_shader_fx_lib.glsl (+0, -8) (Diff)
/source/blender/gpu/shaders/gpu_shader_fx_ssao_frag.glsl (+8, -0) (Diff)