UnityPack icon indicating copy to clipboard operation
UnityPack copied to clipboard

Added 5 Unity classes + Fix X-mirroring of models

Open j5rlLqM-rvsrY96V-GpVJP0F-IZFesRzy-ShMoz opened this issue 3 years ago • 4 comments

I added 5 classes that I came along on my travels: MeshFilter, MeshRenderer, MeshCollider, SphereCollider and CapsuleCollider.

I also cleaned up renderer.py a bit.

Hey! By any chance, would you know how to add support for the new (Unity 5.5+) shaders?

sebastientromp avatar Jun 22 '21 08:06 sebastientromp

I would recommend looking at the YAML-dump of such a shader. unity2yaml ShaderSampleBundle > out.yaml vim out.yaml

Thanks for the advice. Unfortunately, that doesn't help because the shader code itself is stored under compressedBlob and would need to be decompressed / decoded.

sebastientromp avatar Jun 23 '21 13:06 sebastientromp

I see. The compression you're looking at is most likely done using the .net deflate class. But as for the code itself, I don't know. You might have use of tools such as Radare2, Ghidra or ILSpy.