Closed Ph0t0nX closed 3 years ago
nice work!
nice work!
After making that change, I found out that your dev branch is far more advanced than the master branch. The dev branch has some really cool stuff in it! The only problem is that it uses a lot of old Jobs code that won't compile under newer versions of the Jobs and Entities packages. Unfortunately it would require a lot of work to convert all the systems because so much has changed since the time when you wrote it. If you ever update it, I'm sure there are a lot of people who would be interested in using it.
Apparently I got repositories confused lol! The really cool dev branch I was talking about is actually in the repo at https://github.com/zulfajuniadi/Animation-Texture-Baker , which is a fork of your repository made by a guy named zulfajuniadi. Apparently he used your code to get started :-) Thanks again for passing along your awesome code!
Hey sugi-cho/zulfajuniadi - Thanks for making this repo - I have learned a lot from it!
I added a branch called editor-update-ecs-hrv2 that updates the editor to 2020.2. I copied one of the shaders and tweaked it to work with URP and Hybrid Renderer V2 and named it TextureAnimPlayer_Unlit_Diff_GpuInstance_URP.shader . Also, I added a new scene for testing that shader by spawning entities. I didn't change anything in any of the other scenes, but they might not all work 100% because of the updates to the editor and all the packages.
One of the other guys in the unity forums asked that I push a branch with the updates, and I thought that was a good idea. The discussion picked up pretty heavily recently at https://forum.unity.com/threads/graphics-drawmeshinstanced.537927/#post-6625813 . If you get a chance, I'm still stuck on trying to figure out how to use your tool to bake multiple animations into a single texture.