admin管理员组

文章数量:1336592

I'd like to be able to modify the vertex positions in a vertex shader BEFORE using phongmaterial.

I can think of two solutions:

  • apply a shader that modifies the coordinates before the phongShader passes over them
  • download a version of phongShader compatible with p5.js and modify it. But I don't find it.

本文标签: shaderusing a preshader before the p5js phongshaderStack Overflow