yanorax / Godot-VertexAnimation-Demo

Vertex Animation Demo Project for Godot Engine v3.3+
MIT License
64 stars 4 forks source link

Issues when upgrading to Godot 4 #1

Open chanfort opened 1 year ago

chanfort commented 1 year ago

I was wondering if anyone was able to upgrade this project to Godot 4? When I upgraded I see major issues coming from vertex() function as various triangles are clipping through when vertex offset is being used.

Here I inlcude a short video about how it looks like when importing and setting just a single character in the scene. I also include the project zip file here as well. In Godot 3.5.1 the shadermaterial works like a charm so it's just Godot 4.0 that changed signifficantly.

There are other issues, like hint_albedo which got renamed but I managed to find out on the web some answers. So it's mainly vertex offset changes which worries me.

https://user-images.githubusercontent.com/15820119/222979301-572590a9-8250-4e30-9175-ecaeb66b347c.mov

vat_demo_4_0.zip

clankill3r commented 6 months ago

I have the same thing. I want to look into it now but I'm fairly new to Godot so dunno how much I can do. I can confirm it works fine in Godot v3.5.2. I probably start by updatng the blender addon so the addon works wth blender 4.1 >=.

clankill3r commented 6 months ago

I got it working in Godot 4, I will come back to it a.s.a.p.

leorr commented 6 months ago

Any updates on this issue? Ive been trying to run it on godot 4

leorr commented 5 months ago

For anyone stumbling on this issue. The texture compression on the offset image was causing this issue for me, changing the import setting for a lossless compression fixed it for me.