#version 400 compatibility
#define WORLD_END
#define PROGRAM_GBUFFERS_PARTICLES
#define fsh

#include "/include/misc/end_effects.glsl"
#include "/include/misc/shulker_effects.glsl"

void main() {
    // ... meglévő kód ...

    #ifdef WORLD_END
    // Dragon Breath részecskék
    if (particleId == DRAGON_BREATH_ID) {
        vec3 breath_effect = get_dragon_breath(position_scene, frameTimeCounter);
        fragment_color.rgb *= breath_effect;
    }
    
    // Shulker lövedék
    if (particleId == SHULKER_BULLET_ID) {
        vec3 bullet_effect = get_shulker_projectile(position_scene, frameTimeCounter);
        fragment_color.rgb = bullet_effect;
    }
    #endif

    // ... meglévő kód folytatása ...
} 