Common and version specific shader packages #10

Merged
embeddedt merged 24 commits from mitchej123/celeritas:common-shaders-and-enhancements into stonecutter 2025-03-31 19:52:28 -04:00
2 changed files with 10 additions and 3 deletions
Showing only changes of commit 1c97f84c44 - Show all commits

No files matched your search

@@ -1,12 +1,12 @@
package org.embeddedt.embeddium.impl.util;
import java.nio.file.Path;
import org.embeddedt.embeddium.compat.mc.PlatformUtilService;
//? if forge {
import net.minecraftforge.fml.ModList;
import net.minecraftforge.fml.loading.FMLLoader;
import net.minecraftforge.fml.loading.FMLPaths;
import org.embeddedt.embeddium.compat.mc.PlatformUtilService;
public class PlatformUtilImpl implements PlatformUtilService {
public boolean isLoadValid() {
@@ -5,7 +5,13 @@ import javax.annotation.Nullable;
import static com.mitchej123.glsm.RenderSystemService.RENDER_SYSTEM;
import com.llamalad7.mixinextras.sugar.Local;
import com.mojang.blaze3d.systems.RenderSystem;
import com.mojang.blaze3d.vertex.PoseStack;
import net.minecraft.client.particle.ParticleEngine;
import net.minecraft.client.particle.ParticleRenderType;
import net.minecraft.client.renderer.*;
import net.minecraft.client.renderer.culling.Frustum;
import org.joml.Matrix4f;
import net.irisshaders.iris.Iris;
import net.irisshaders.iris.fantastic.ParticleRenderingPhase;
import net.irisshaders.iris.fantastic.PhasedParticleEngine;
@@ -18,10 +24,11 @@ import net.minecraft.client.renderer.culling.Frustum;
import org.spongepowered.asm.mixin.Final;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.*;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
import java.util.function.Predicate;
/**
* Uses the PhasedParticleManager changes to render opaque particles much earlier than other particles.
* <p>