Object Pick Selection Using Framebuffer and Picking Box - flexigame.com Technical Blog

Object Pick Selection Using Framebuffer and Picking Box

Pick selection (or mouse picking) is a way of selecting objects in 3D scene. It can be very useful for strategy games or any kind of 3D editors. There are different methods to achieve this. Most of them require ray casting (projecting 3D ray from mouse position, through the camera and into the scene) and converting mouse click position from viewport space to worldspace position. With ray origin position...
Layer Masking Effect - flexigame.com Technical Blog

Layers masking effect using OpenGL ES shader with libGDX

In this article I will explain the basics of using texture alpha masks with multiple layers and how to create complex effects using this neat trick. The source code will be based on the libGDX framework and written in Java. Recently I’ve used this code for intro and menu effect in my last Android game. Custom pixel shader used with SpriteBatch will be required for this effect to work....
Hello world! - flexigame.com Technical Blog

Hello world!

Welcome! This technical blog will be a special place for me and the work I do. Here, I will publish articles on the progress that I’ve made in my game/graphics engine development, computer 3D graphics and programming in general. From September 2014 to November 2015 I’ve been working on my own graphics and game engine – it wasn’t easy and I didn’t quite finish it. Actually, I really need...