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:
parent
0bf3a15886
commit
e8a9578774
2 changed files with 48 additions and 35 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue