Package net.ixdarklord.coolcatcanvas.api.client.effect
package net.ixdarklord.coolcatcanvas.api.client.effect
-
ClassDescriptionWhat a screen effect's callbacks see of the current frame.A function of the frame deciding how strong an effect is, from 0 to 1.One named uniform of a screen effect, written into every pass that declares it.A full-screen post-processing effect, made with
ScreenEffects.register(net.minecraft.resources.ResourceLocation, net.minecraft.resources.ResourceLocation).The passes and targets of a screen effect, in thepost_effectformat of later Minecraft versions.What a pass samples: a target or a texture.One draw of a fragment shader over its output target.A target a pass can draw into.Samples a target's color, or its depth withuseDepthBuffer.Samplesassets/<namespace>/textures/effect/<path>.png.A named uniform and its default value:{"name": "Amount", "type": "float", "value": 0.5}.The GLSL types a uniform can have.A uniform's value.The order screen effects are drawn in, like layers in an image editor: the first layer is drawn first, straight over the game, and each later one processes the image the layers before it produced.Full-screen post-processing effects: color grading, distortion, blur, and whatever else a fragment shader can do to the finished frame, with uniforms that can change every frame.When in the frame a screen effect is drawn.