three-nebula icon indicating copy to clipboard operation
three-nebula copied to clipboard

Setting blending mode example

Open ManHunterGroms opened this issue 3 years ago • 1 comments

Hello. How I can change the blending mode from AdditiveBlending to NoBlending?

ManHunterGroms avatar Oct 06 '21 19:10 ManHunterGroms

Hi,

If you are using the GPURenderer, you can set the blend mode via the options arg. It's currently undocumented because the GPURenderer is currently still "experimental" even though it is quite stable.

You can check the code here https://github.com/creativelifeform/three-nebula/blob/master/src/renderer/GPURenderer/index.js#L19

rohan-deshpande avatar Oct 11 '21 02:10 rohan-deshpande