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.
我有一个以 3D 方式加载和显示 obj 文件的应用程序(我使用 NinevehGL),我想知道是否可以为对象的内表面着色?
通过禁用剔除并在isglDisable(GL_CULL_FACE)的片段上设置不同的颜色。gl_FrontFacefalse
glDisable(GL_CULL_FACE)
gl_FrontFace
false