Class BloomPostProcessor
java.lang.Object
team.lodestar.lodestone.systems.postprocess.PostProcessor
team.lodestar.lodestone.systems.postprocess.effects.BloomPostProcessor
-
Field Summary
Fields inherited from class team.lodestar.lodestone.systems.postprocess.PostProcessor
effects, postChain, time, viewModelMatrix -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidUnbind texturesvoidbeforeProcess(org.joml.Matrix4f viewModelMatrix) Set uniforms and bind textures herevoidcopyDepthFrom(com.mojang.blaze3d.pipeline.RenderTarget src) voidvoidnet.minecraft.client.renderer.RenderStateShard.OutputStateShardcom.mojang.blaze3d.pipeline.RenderTargetnet.minecraft.resources.ResourceLocationExample: "octus:foo" points to octus:shaders/post/foo.jsonvoidinit()voidresize(int width, int height) voidsetActive(boolean active) Methods inherited from class team.lodestar.lodestone.systems.postprocess.PostProcessor
applyPostProcess, copyDepthBuffer, isActive, loadPostChain
-
Constructor Details
-
BloomPostProcessor
public BloomPostProcessor()
-
-
Method Details
-
getPostChainLocation
public net.minecraft.resources.ResourceLocation getPostChainLocation()Description copied from class:PostProcessorExample: "octus:foo" points to octus:shaders/post/foo.json- Specified by:
getPostChainLocationin classPostProcessor
-
init
public void init()- Overrides:
initin classPostProcessor
-
beforeProcess
public void beforeProcess(org.joml.Matrix4f viewModelMatrix) Description copied from class:PostProcessorSet uniforms and bind textures here- Specified by:
beforeProcessin classPostProcessor
-
afterProcess
public void afterProcess()Description copied from class:PostProcessorUnbind textures- Specified by:
afterProcessin classPostProcessor
-
resize
public void resize(int width, int height) - Overrides:
resizein classPostProcessor
-
forceDisable
public void forceDisable() -
setActive
public void setActive(boolean active) - Overrides:
setActivein classPostProcessor
-
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)
-