Well situation is pretty simple, I have no idea how to convert this shader below from GLES3 to GLES2, is anyone here who can handle it?
extends CPUParticles2D
func initialize(sprite : Texture):
process_material.set_shader_param("emission_box_extents",
Vector3(sprite.get_width() / 2.0, sprite.get_height() / 2.0, 1))
process_material.set_shader_param("sprite", sprite)
amount = sprite.get_width() * sprite.get_height()
emitting = true