新的 节点材质系统 绑定属性及使用 非常方便 不必重复声明
以instances为例
声明一个 InstancedBufferAttribute
使用 instancedBufferAttribute
包装后就可以在shader中直接使用
使用
顶点着色器 声明 varying
片元着色器 使用 varying
新的 节点材质系统 绑定属性及使用 非常方便 不必重复声明
以instances为例
声明一个 InstancedBufferAttribute
使用 instancedBufferAttribute
包装后就可以在shader中直接使用
使用
顶点着色器 声明 varying
片元着色器 使用 varying