javascript - How do you update a uniform In Three.js? -


i had re-write question because asking wrong thing before.

i meant ask, how update uniform in three.js?

this seems work:

yourmesh.material.uniforms.youruniform.value = whatever; 

Comments

Popular posts from this blog

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

java - Incorrect order of records in M-M relationship in hibernate -