X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fmaterial.h;h=3d0b566852de23ac40b5d7c5b55ed078851e8f75;hb=0d27f859021b4af5dbb5404ef5af012546abf335;hp=5cf35337ddda2d8786ed58f5d24054a6e155ba73;hpb=d4d7f73284783d2a50d71014789d196bef7d0e0e;p=laserbrain_demo 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