最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

shader - using a preshader before the p5.js phongshader - Stack Overflow

programmeradmin0浏览0评论

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.
发布评论

评论列表(0)

  1. 暂无评论