diff options
author | Julian Eisel <julian@blender.org> | 2020-03-13 18:39:47 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2020-03-13 20:07:58 +0300 |
commit | 29addd4360291351fb7f7ffcbf07cf71102217d3 (patch) | |
tree | b7ffb15807034e9f630ace13b1340d6a13e7456b /source/blender/python/gpu/gpu_py_offscreen.c | |
parent | 3bc41d2f50d23911bbb778b4abc48e9b7093070f (diff) |
Use preview quality settings for Eevee in VR, not high-quality ones
The high-quality settings are designed for actual renderings. We use the
same offscreen routines as these, but want the preview quality for
performance.
Brings performance from < 1FPS to ~40FPS in the classroom scene here.
Diffstat (limited to 'source/blender/python/gpu/gpu_py_offscreen.c')
-rw-r--r-- | source/blender/python/gpu/gpu_py_offscreen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/python/gpu/gpu_py_offscreen.c b/source/blender/python/gpu/gpu_py_offscreen.c index f09440a1ceb..f128c46ec05 100644 --- a/source/blender/python/gpu/gpu_py_offscreen.c +++ b/source/blender/python/gpu/gpu_py_offscreen.c @@ -257,6 +257,7 @@ static PyObject *bpygpu_offscreen_draw_view3d(BPyGPUOffScreen *self, (float(*)[4])py_mat_projection->matrix, true, true, + true, "", false, self->ofs, |