Currently GL programs are stored by the context, move this down a level (or two) to the instances or models
This is how the skybox is handled, this will remove the really awkward if statement to get billboards to work
Billboards and "normal" models, each hold a reference to the program they need for rendering
Currently GL programs are stored by the context, move this down a level (or two) to the instances or models This is how the skybox is handled, this will remove the really awkward if statement to get billboards to work
Billboards and "normal" models, each hold a reference to the program they need for rendering