1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Add texture modifier [brighten and modify [toalpha to modify existing texture, not read a new base

This commit is contained in:
Perttu Ahola 2011-11-23 00:27:12 +02:00
parent 0bf3a15886
commit e8a9578774
2 changed files with 48 additions and 35 deletions

View file

@ -529,8 +529,8 @@ public:
f->drawtype = NDT_NORMAL;
f->solidness = 1;
for(u32 i=0; i<6; i++){
f->tname_tiles[i] = std::string("[noalpha:")
+ f->tname_tiles[i];
f->tname_tiles[i] = f->tname_tiles[i]
+ std::string("^[noalpha");
}
}
break;