adrian.licuriceanu Posted November 10, 2020 Posted November 10, 2020 Hello, Previous to Unigine 2.13 beta, I had Material::setOffset. This is now gone and I see no replacement. How do I setup some polygon offset per material? Kind Regards, Adrian L.
silent Posted November 11, 2020 Posted November 11, 2020 Hi Adrian, It was removed in 2.12: How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
adrian.licuriceanu Posted November 11, 2020 Author Posted November 11, 2020 That is most unfortunate. We are using very specific hardware/API/driver combination so know exactly what to expect from polygon offset. Maybe exposing some parts of materials with the warning that is configuration specific? Otherwise we probably need to create our own material (shader) and simulate polygon offset by changing the fragment depth output.
silent Posted November 11, 2020 Posted November 11, 2020 Creating a custom material for your use-case would be a better and more flexible solution. Restoring of polygon offset in proper way would for sure require some additional time. This task currently has low priority, so right now and in the nearest future we do not plan to implement it. 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