mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-26 19:43:30 +00:00
shader path is determined by client
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ namespace vb01{
|
||||
}
|
||||
|
||||
void Material::initShader(){
|
||||
string basePath = "../../vb01/", shaderName;
|
||||
string basePath = Root::getSingleton()->getLibPath(), shaderName;
|
||||
switch(type){
|
||||
case MATERIAL_2D:
|
||||
shaderName = "texture.";
|
||||
|
||||
Reference in New Issue
Block a user