Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在三个.js中:
我有个问题。我有一个带有着色器材质的对象(平面),它改变了顶点着色器中顶点的位置。我需要渲染飞机,但在相机后面而不是渲染。我该怎么办?
谢谢你的帮助!
只需在平面上将 frustumCulled 属性设置为 false,这将确保它不会被截锥体剔除。
plane.frustumCulled = false