away3d / away3d-core-openfl

Away3D engine for OpenFL
166 stars 41 forks source link

render only when mouseover a mesh (the context is shared with starling) #95

Closed Amrf000 closed 5 years ago

Amrf000 commented 5 years ago

i solved this problem by modify ShaderPicker.hx getViewCollision function if (_hitColor == 0) { if (!view.shareContext) { _context.present(); } return null; }