Tag: Video Games
-
Simple gaussian blur shader using a kernel

This tutorial demonstrates creating a gaussian blur shader using a kernel and the GLSL shader language. The process involves creating a kernel, defining a sample distance, applying blur, and setting the pixel alpha. Images with different sample distances are displayed for comparison. Thank you for reading this helpful guide!
-
Creating a binary image shader

In this tutorial, learn how to convert a sprite to a binary image using a GLSL shader. Utilising only two colours, typically black and white, you can follow simple steps to achieve this effect. Experiment with different colours and bias values to personalise your results. Get creative and enjoy the process!
-
Creating a duotone gradient in a GLSL shader

This tutorial guides you through creating a duotone gradient in a GLSL shader. Steps include converting to greyscale, creating a gradient, overlaying colours, and setting the output alpha. Experiment with colours and gradients to customise your sprite.
-
Creating a duotone circle effect in a GLSL shader

This tutorial demonstrates creating a duotone circle effect in a GLSL shader using a sprite of a mountain. By following the outlined steps, you can achieve a visually appealing result. The process involves details such as aspect ratio correction, creating a circle, converting to greyscale, overlaying colours, and setting the alpha channel. Experiment with different…
-
Creating a duotone effect in a GLSL shader

This tutorial demonstrates how to create a duotone effect in a GLSL shader using an astronaut sprite. The process involves converting pixel colours to greyscale, determining pixel brightness in HSV format, mixing shadow and highlight colours, and adjusting effect intensity. The final step ensures transparency functions correctly. Explore the full tutorial for complete guidance.
-
Tinting Shan Shui art with gemstone colours

Following on from the sepia post, I replaced the sepia colour with gemstone colours. I used emerald, ruby and sapphire RGB values from Wikipedia. I lowered the brightness of the gemstone colours so they were not to bright when combined with the greyscale image.
-
Greyscale sprite shader

This tutorial shows you how to convert the RGB channels of a sprite to greyscale using weights in a shader. The tutorial is written in the GLSL programming language.
-
Tinting sprites using a shader

This tutorial will show you how to tint the pixels of a sprite in a shader.


