X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=laserbrain_demo;a=blobdiff_plain;f=src%2Fmaterial.h;h=3d0b566852de23ac40b5d7c5b55ed078851e8f75;hp=5cf35337ddda2d8786ed58f5d24054a6e155ba73;hb=d47a663825bd358d2165c1a4b040cc828aeb4991;hpb=d4d7f73284783d2a50d71014789d196bef7d0e0e diff --git a/src/material.h b/src/material.h index 5cf3533..3d0b566 100644 --- a/src/material.h +++ b/src/material.h @@ -25,6 +25,9 @@ public: float shininess; float alpha; + float reflect; + bool flat_mirror; + Texture *stdtex[NUM_MTL_TEXTURES]; std::vector textures; @@ -32,6 +35,7 @@ public: void setup() const; void add_texture(Texture *tex, int type = MTL_TEX_UNKNOWN); + void remove_texture(Texture *tex); }; // returns MTL_TEX_whatever by name