transparency test (old stuff from 2008)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7192 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
+4
-3
@@ -41,12 +41,13 @@ class dynent;
|
||||
|
||||
struct model
|
||||
{
|
||||
bool cullface, vertexlight;
|
||||
bool cullface, vertexlight, alphablend; //ALX Alpha channel models
|
||||
float alphatest, translucency, scale, radius, shadowdist;
|
||||
vec translate;
|
||||
int cachelimit, batch;
|
||||
|
||||
model() : cullface(true), vertexlight(false), alphatest(0.9f), translucency(0.25f), scale(1), radius(0), shadowdist(0), translate(0, 0, 0), cachelimit(8), batch(-1) {}
|
||||
|
||||
//model() : cullface(true), vertexlight(false), alphatest(0.9f), translucency(0.25f), scale(1), radius(0), shadowdist(0), translate(0, 0, 0), cachelimit(8), batch(-1) {}
|
||||
model() : cullface(true), vertexlight(false), alphablend(false), alphatest(0.9f), translucency(0.25f), scale(1), radius(0), shadowdist(0), translate(0, 0, 0), cachelimit(8), batch(-1) {}
|
||||
virtual ~model() {}
|
||||
|
||||
virtual bool load() = 0;
|
||||
|
||||
Reference in New Issue
Block a user