tower120 Posted December 4, 2020 Share Posted December 4, 2020 Is this possible to have "animated" imposters? Like for cheering crowd, swaying trees, etc. Or to animate distant units (like in old TotalWar series)... Link to comment
silent Posted December 7, 2020 Share Posted December 7, 2020 tower120 I guess you can use simple plane for that and change the texture via UV transform (but in that case you need to prepare these planes in DCC tool first). As an option you can write your own shader to do that. 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
tower120 Posted December 7, 2020 Author Share Posted December 7, 2020 What about reusing current imposter (in order to have different images at different angles), and alter shader to switch UV offset/or switch texture with time. Is that possible? Or all imposter thing completely "private"? Link to comment
silent Posted December 7, 2020 Share Posted December 7, 2020 You can try to modify imposter shader for your needs, maybe it will work. It's hard to tell, because it's quite specific material. All the shader code you can find in <SDK>/data/core/shaders/billboards/impostor In order to see the shader changes in your project you need to copy all the modified files to the same data directory inside your project (<YourProject>/data/core <...>). 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
tower120 Posted December 7, 2020 Author Share Posted December 7, 2020 Thanks! I will try that. Link to comment
Recommended Posts