Closed novalain closed 6 years ago
Sometimes it's not desirable to pass all the material information to a single shader, but rather switch shaders between materials.
One solution would be to have the materials hold separate index buffers to accomplish this.
Sometimes it's not desirable to pass all the material information to a single shader, but rather switch shaders between materials.
One solution would be to have the materials hold separate index buffers to accomplish this.