squarefeet / ShaderParticleEngine

A GLSL-heavy particle engine for THREE.js. Originally based on Stemkoski's great particle engine (see README)
http://squarefeet.github.io/ShaderParticleEngine/
MIT License
853 stars 115 forks source link

Set initial color uniform for fog enabled groups (Fix for Three r104) #132

Closed titansoftime closed 4 years ago

titansoftime commented 5 years ago

This change fixes fog that PR https://github.com/mrdoob/three.js/pull/15467 broke. Since color is now copied instead of being forcibly applied, a THREE.Color default value is necessary.

weiserhei commented 4 years ago

Can you please merge this fix and also publish an updated npm module?

squarefeet commented 4 years ago

On my list!

squarefeet commented 4 years ago

Thanks @titansoftime!

squarefeet commented 4 years ago

Quick note: I won't publish a new NPM version until #135 is merged. Might as well bunch these two together.