ParticleSystem
ParticleSystem copied to clipboard
THREEjs 使用122版本出现问题


结合 回答, texture关键词被占用了,修改fragmentShader相关代码后,需要修改 https://github.com/imokya/ParticleSystem/blob/f48a2381052e14437261fee6c77b44945310ca19/src/libs/emitter.js#L115
比如修改shaders.js代码
uniform sampler2D particleTexture;
则emitter.js里面修改为
uniforms: { particleTexture: { value: this.texture } },