How can I have my custom background (procedural CustomShader Material), work with the default particles?
I assume its alpha stuff, cause my atmospheres disappeared as well once I added the new Shader background.
How can I have my custom background (procedural CustomShader Material), work with the default particles?
I assume its alpha stuff, cause my atmospheres disappeared as well once I added the new Shader background.
turning
needAlphaBlending:false
to false
on the shader constructor did it.
Eventually sense I want to raymarch the atmospheres and clouds from the outer space sphere, I will need the alpha blending to be true, but for now this works.
This should work but then you need to output glFragColor.a