ParticleSystem icon indicating copy to clipboard operation
ParticleSystem copied to clipboard

THREEjs 使用122版本出现问题

Open msdog opened this issue 4 years ago • 2 comments

image

msdog avatar Mar 04 '21 03:03 msdog

image

msdog avatar Mar 04 '21 06:03 msdog

结合 回答, 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 } },

onehumanbeing avatar Nov 21 '21 07:11 onehumanbeing