I originally wanted to make a new video on the subject, since my skin creation tutorial is quite dated (and sounds bad), but I haven’t really had the time yet. If somebody has an optimization feel free to comment it here, but this could be the fastest solution on performance with a minimal memory overhead on GLES2.Since there is a new art contest going on, I figured I’d share some information regarding spriting. Get_material().set_shader_param("palette_size",palette_size)Īn image which resume how the algorithm works:Īnd the demo project with the concepts explained here: Self.palette_size = frame_mask.get_width() Get_material().set_shader_param("palette",frame_mask) Var frame_mask = palettes.get_frame(palette_index) If(palettes != null
0 Comments
Leave a Reply. |