Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

How To Add Post Processing??

In my game, I want to add some post processing to make the game look miles better, particularly chromatic aberration and vignette. Is there anyway that I can add these two effects to my game?

Here’s the post processing that I already have in my game:

cameraComponent = scene.camera:get(craft.camera)
    cameraComponent.hdr = true
    cameraComponent.colorTextureEnabled = true
    bloom = craft.bloomEffect()
    cameraComponent:addPostEffect(bloom)
    bloom.threshold = 1.5
    bloom.intensity = 1.2
    bloom.softThreshold = 0.4
    bloom.iterations = 8

Thanks in advance :)

Sign In or Register to comment.