Vladimir_tyutenkov Posted August 20, 2019 Share Posted August 20, 2019 what is the base material for occludermesh, I want to put the same material on the object with a different color Link to comment
morbid Posted August 21, 2019 Share Posted August 21, 2019 Hello Vladimir, The right thing to do this is to create your own semi-transparent material with Alpha Blend preset. Inherit a mesh_base material Change transparency preset from Opaque to Alpha Blend Specify values for the albedo color and alpha How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Vladimir_tyutenkov Posted August 21, 2019 Author Share Posted August 21, 2019 Hello morbid, I did as you said, but the material is obtained without drawing the edges as occludermesh material Link to comment
morbid Posted August 21, 2019 Share Posted August 21, 2019 If you want to get the triangles visuals you can copy modify mesh_base shader or use approach as in our render sample: SDK Browser -> Samples -> Unigine Script -> Render -> visuazlier_00. This sample shows how to render mesh wire-frame. May I ask you what's the final purpose of this effect and how should it look like? Thanks. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Vladimir_tyutenkov Posted August 21, 2019 Author Share Posted August 21, 2019 Hello, I need to highlight some technical objects in the scene so that they have wireframe transparent material Link to comment
Recommended Posts