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: vanilla's post chain format, so vanilla's own effects (and any made for them) load as they are.Another input of a pass, sampled assampler: a target (its color, or its depth), or else a texture,assets/<namespace>/textures/effect/<path>.png.One draw of a program over its output target.A target's size; screen-sized where not given.A value for a program's uniform:{"name": "Amount", "values": [0.5]}.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.