Three.js renderer.autoClear property not working?

前端 未结 1 1882
隐瞒了意图╮
隐瞒了意图╮ 2021-01-15 18:25

I\'m trying to make the renderer write on top of the previous frame. If I understand the context of autoClear correct, renderer.autoClear = false; should make this possible,

相关标签:
1条回答
  • 2021-01-15 18:45

    Use

    renderer = new THREE.WebGLRenderer({antialias: true, preserveDrawingBuffer: true});
    
    0 讨论(0)
提交回复
热议问题