Skip to content

Simple chromatic aberration shader written in GLSL, designed for Game Maker Studio 2

Notifications You must be signed in to change notification settings

ends-dev/gml-chromatic-aberration-shader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chromatic-aberration-shader

Simple 2D chromatic aberration shader written in GLSL, designed for Game Maker Studio 2

INCLUDES: CREATE EVENT, DRAW EVENT, STEP EVENT, shd_chrabb.fsh, README.md

USES: Creates chromatic aberration effect on 2D graphics, with the ability to enable or disable using the spacebar

INSTRUCTIONS:

  1. Create a new shader called shd_chrabb
  2. Copy the contents of shd.chrabb.fsh and paste over the contents of the shader's fragment shader code. The vertex shader should be fine by default, so don't worry about changing anything there.
  3. You can copy the contents of CREATE EVENT, DRAW EVENT, and STEP EVENT directly into the object where you want to use the shader. The shader should be enabled by default, and you can press spacebar to disable or re-enable it while the program is running.

About

Simple chromatic aberration shader written in GLSL, designed for Game Maker Studio 2

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages