Skip to content

couleurs/glsl-sharpen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

glsl-sharpen

Sharpens pixels of a frame using the surrounding pixels. Function takes it a texture, a coordinate and the render size, and returns the pixel value for that coordinate after applying the sharpening convolution.

Adapted from https://igortrindade.wordpress.com/2010/04/23/fun-with-opengl-and-shaders/

sharpen(sampler2D inputTexture, vec2 coord, vec2 imageSize) => vec4

License

MIT. See LICENSE.md for details.

About

GLSL module for image sharpening

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages