de-Roo.Lukas Posted February 26, 2018 Posted February 26, 2018 Hi, I tried to change the transparent pow of a material. but I used the following command but it seems that it cannot find the parameter and throws an error wall_material1->setParameterSlider(wall_material1->findParameter("transparent pow"), 2.0f); but it can find "metalness" using the same command.
silent Posted February 27, 2018 Posted February 27, 2018 Hi Lukas, Please, try to refer to the material parameter with underscore: wall_material1->setParameterSlider(wall_material1->findParameter("transparent_pow"), 2.0f); You can check all the names inside <SDK>data\core\materials\default\mesh\mesh_base.basemat file. Thanks! 1 How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Recommended Posts