mirror of
https://github.com/ApfelTeeSaft/vb01.git
synced 2026-08-26 19:33:45 +00:00
text uses material
This commit is contained in:
@@ -106,6 +106,10 @@ namespace vb01{
|
||||
if(diffuseColorEnabled)
|
||||
shader->setVec4(diffuseColor, "diffuseColor");
|
||||
}
|
||||
else if(type == MATERIAL_TEXT){
|
||||
shader->setInt(0, "textTex");
|
||||
//shader->setInt(1, "diffuseMap");
|
||||
}
|
||||
|
||||
if(texturingEnabled){
|
||||
vector<Texture*> textures;
|
||||
|
||||
Reference in New Issue
Block a user