Luomu / pioneer

space simulation adventure game
http://pioneerspacesim.net/
6 stars 1 forks source link

Refactor materials and shaders system #33

Closed Luomu closed 11 years ago

Luomu commented 11 years ago

Renderer::CreateMaterial everywhere

Luomu commented 11 years ago

Mostly done in #1432

Luomu commented 11 years ago

descriptor.textures = number + separate booleans is turning out to be a bit unwildly wrt new-model. Could replace with:

descriptor.texture0 = some_type_enum descriptor.texture1 = some_type_enum ...

or descriptor.textureFlags = texture_diffuse | texture_somethingelse ...

Luomu commented 11 years ago

Is merged!