Home » Blog » Source Code » Page 2

Source Code

Source code in various programming languages. Discussion of coding tasks and algorithms. A free portal for software developers. Source code snippets in: C/C++, Javascript, GLSL (WebGL / OpenGL), SVG

Gaussian blur opengl and webgl code

Gaussian filter in OpenGL/WebGL

This sample source code below shows how to implement Gaussian blur filter in OpenGL (WebGL) shading language. This is a popular algorithm in computer graphics that results in a blurry image. Source Code The GL shader code below implements a separable convolution that we can use for a Gaussian filter image blur effect. The GSLS …

Gaussian filter in OpenGL/WebGL Read More »