Vertex Animation Textures, part 2, Godot Vertex Shader

Поділитися
Вставка
  • Опубліковано 20 жов 2024
  • This is the part2 of the VAT tutorial. Here I use the second channel of UVs and the position textures (VAT) created in Blender, to animate 2000 characters in Godot using particles.
    GODOT FILE (SUPPORTERS) *Updated with last comments and simplified shader
    / vertex-animation-11077...
    VAT FILE (Replace vertex_animation.py in plugin)
    pastebin.com/G...
    #godot #godot4 #shaders
    You can also support this channel with one-time donations here:
    ko-fi.com/pixezy

КОМЕНТАРІ • 3

  • @TwEtr-q4i
    @TwEtr-q4i Місяць тому

  • @wagwan0
    @wagwan0 Місяць тому

    why not change the compression setting to an interpolated one and do only 1 texture read? that will save tons of performance. see Donald Martin's vertex animation in godot tutorial.

    • @pixezy8962
      @pixezy8962  Місяць тому

      It was my first try, because this comes mainly from UE examples and they use bicubic, I think is the same that bilinear. But I couldn't find it. If i remember correctly choosing filter type was different in 3.5.
      I gave up, maybe too early...
      If you know where is that option located please tell me. AFAIK this is the only way to setup the filter type in Godot 4:
      uniform sampler2D absolute_map: filter_linear;