Sign in

Expected 123 everywhere, screenshot from ANGLE DX11, Nvidia
  1. Reading float bits from texture and losing float bits. (first screenshot)
  2. Precompiled floats. CPU vs GPU.
  3. More about float bits and int/uint, float can be equal to 0. but

Reading float bits from texture and losing float bits:

Screenshot above. Test shader shadertoy link. Expected 123 everywhere.

Blue number result of this operation (line 29 in shadertoy code):


GLSL Auto Tetris

Make the maximum number of simultaneously launched Tetrises for one shader (one Framebuffer texture).

This is the 2021 updated version.

Shader should work fine on every 2015+ Nvidia…

Screenshot from

This is not a tutorial, I write only about my way of creating logic and some useful tips and code.

Useful Shaders and Shadertoy related links and tips in my previous blog post.


  1. Useful code for data saving/loading.
  2. 2D drawing/creating graphics.
  3. Optimization and debugging.
  4. The edge of the Games…

Links and small descriptions to useful shader-related stuff.

Shadertoy is a great place to create and discover amazing shader-related projects. — I highly recommend all materials and articles on this website, created by Inigo Quilez.
Articles include very useful materials such as 2D SDF and 3D SDF, intersectors functions…

Only for KDE 5 (Plasma desktop) and Gnome 3 (Gnome Shell). Wayland and X11.

KDE 5 Plasma plugin

Install KDE / Plasma — Shader Wallpaper plugin github link.
Plugin can be installed directly from KDE Plasma desktop options. Instruction:

  • Right click on your desktop > Configure Desktop
  • Click on the “Get New Plugins” button

Animation from my GLSL shaders in loops as YouTube and GIFs.
Source code linked for every animation.

Animation recorded using Python script:

Videos on YouTube are looped, right-click on the video and select “Loop”. Short animations in GIFs.

YouTube playlist.

Animation loops:

1. Cube lines shader

This animation also…


GLSL and usual coding

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store