Class PhysicallyBasedBloomPostProcessor

java.lang.Object
team.lodestar.lodestone.modules.rendering.postprocess.PostProcessor
team.lodestar.lodestone.modules.rendering.postprocess.effects.PhysicallyBasedBloomPostProcessor

public class PhysicallyBasedBloomPostProcessor extends PostProcessor
  • Constructor Details

    • PhysicallyBasedBloomPostProcessor

      public PhysicallyBasedBloomPostProcessor()
  • Method Details

    • getPostChainLocation

      public net.minecraft.resources.ResourceLocation getPostChainLocation()
      Description copied from class: PostProcessor
      Example: "octus:foo" points to octus:shaders/post/foo.json
      Specified by:
      getPostChainLocation in class PostProcessor
    • init

      public void init()
      Overrides:
      init in class PostProcessor
    • beforeProcess

      public void beforeProcess(org.joml.Matrix4f viewModelMatrix)
      Description copied from class: PostProcessor
      Set uniforms and bind textures here
      Specified by:
      beforeProcess in class PostProcessor
    • afterProcess

      public void afterProcess()
      Description copied from class: PostProcessor
      Unbind textures
      Specified by:
      afterProcess in class PostProcessor
    • resize

      public void resize(int width, int height)
      Overrides:
      resize in class PostProcessor
    • forceDisable

      public void forceDisable()
    • setActive

      public void setActive(boolean active)
      Overrides:
      setActive in class PostProcessor
    • getBloomOutput

      public net.minecraft.client.renderer.RenderStateShard.OutputStateShard getBloomOutput()
    • getBloomTarget

      public com.mojang.blaze3d.pipeline.RenderTarget getBloomTarget()
    • copyDepthFromMain

      public void copyDepthFromMain()
    • copyDepthFrom

      public void copyDepthFrom(com.mojang.blaze3d.pipeline.RenderTarget src)